diff --git a/hutool-core/src/main/java/org/dromara/hutool/core/util/BooleanUtil.java b/hutool-core/src/main/java/org/dromara/hutool/core/util/BooleanUtil.java index 637e56f2b..753defc0f 100644 --- a/hutool-core/src/main/java/org/dromara/hutool/core/util/BooleanUtil.java +++ b/hutool-core/src/main/java/org/dromara/hutool/core/util/BooleanUtil.java @@ -32,9 +32,9 @@ import java.util.Set; public class BooleanUtil { /** 表示为真的字符串 */ - private static final Set TRUE_SET = SetUtil.of("true", "yes", "y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"); + private static final Set TRUE_SET = SetUtil.of("true", "yes", "y", "Y", "t", "ok", "1", "on", "是", "对", "真", "對", "√"); /** 表示为假的字符串 */ - private static final Set FALSE_SET = SetUtil.of("false", "no", "n", "f", "0", "off", "否", "错", "假", "錯", "×"); + private static final Set FALSE_SET = SetUtil.of("false", "no", "n", "N", "f", "0", "off", "否", "错", "假", "錯", "×"); /** * 取相反值