mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -279,8 +279,10 @@ public class PatternMatcher {
|
||||
|
||||
final int min;
|
||||
if (matcher instanceof AlwaysTrueMatcher) {
|
||||
// 匹配所有时,获取这个字段本身的最小值
|
||||
min = part.getMin();
|
||||
} else if (matcher instanceof BoolArrayMatcher) {
|
||||
// 获取用户定义的最小值
|
||||
min = ((BoolArrayMatcher) matcher).getMinValue();
|
||||
} else {
|
||||
throw new IllegalArgumentException("Invalid matcher: " + matcher.getClass().getName());
|
||||
|
Reference in New Issue
Block a user