refactor: 修改 BaseComparablePropertyValidator#inRange
默认提示语
This commit is contained in:
parent
358cdaf1ad
commit
dcf620b63e
@ -33,7 +33,7 @@ class BaseComparablePropertyValidator<TObj,
|
||||
|
||||
public TPropertyValidator inRange(Range<TProperty> range) {
|
||||
withRule(value -> value != null && range.contains(value),
|
||||
convertExceptionCreator("The value is not in " + range.toString()));
|
||||
convertExceptionCreator("The value is not in the interval " + range.toString()));
|
||||
return thisObject();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user