Fix CollationKey creation - fixes #753
This commit is contained in:
parent
163546de94
commit
32773122c4
@ -71,8 +71,8 @@ public class StringCriterion extends Criterion {
|
||||
return new KeyMaker() {
|
||||
@Override
|
||||
protected Object makeKey(Object value) {
|
||||
return (ExpressionUtils.isNonBlankData(value) && !(value instanceof String)) ?
|
||||
collator.getCollationKey(value.toString()) : value;
|
||||
return collator.getCollationKey((ExpressionUtils.isNonBlankData(value)
|
||||
&& !(value instanceof String)) ? value.toString() : (String) value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user