mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 12:39:05 +08:00
Merge branch 'jdk8-dev' of 202306301020/pigx into jdk8-dev
This commit is contained in:
commit
f510c056ea
1 file changed
+1
-1
+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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user