Recommitting r687578, changed slightly to follow Adam's lead
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688212 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -127,7 +127,7 @@ public class EntityComparisonOperator extends EntityOperator<Boolean> {
|
||||
}
|
||||
}
|
||||
|
||||
public <T extends Comparable<T>> boolean compare(T lhs, T rhs) {
|
||||
public boolean compare(Comparable lhs, Object rhs) {
|
||||
throw new UnsupportedOperationException(codeString);
|
||||
}
|
||||
|
||||
@@ -155,7 +155,7 @@ public class EntityComparisonOperator extends EntityOperator<Boolean> {
|
||||
}
|
||||
|
||||
if (leftValue == WILDCARD || rightValue == WILDCARD) return true;
|
||||
return compare((Comparable) leftValue, (Comparable) rightValue);
|
||||
return compare((Comparable) leftValue, rightValue);
|
||||
}
|
||||
|
||||
public EntityCondition freeze(Object lhs, Object rhs) {
|
||||
|
||||
Reference in New Issue
Block a user