Merge branch 'jdk8-dev' of 202306301020/pigx into jdk8-dev

This commit is contained in:
pig666 authored and Gogs committed 2023-11-27 16:02:53 +08:00
commit f510c056ea
1 file changed
+1 -1
@@ -49,7 +49,7 @@ public enum StyleTypeEnum {
*/
private String description;
public static String getDecs(String style) {
public static String getDesc(String style) {
return Arrays.stream(StyleTypeEnum.values()).filter(styleTypeEnum -> styleTypeEnum.getStyle().equals(style))
.findFirst().get().getDescription();
}