fix: 修复判断字符串是否为YES始终为false

This commit is contained in:
陈锐填
2024-03-27 11:17:43 +08:00
parent fd27ae9e7a
commit b06017077f

View File

@@ -52,7 +52,7 @@ public class ConstsBoolean {
}
public static boolean isYes(String value) {
return "YES" == value.toUpperCase();
return "YES".equalsIgnoreCase(value);
}
public static boolean isFalse(int value) {