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:
Scott Gray
2008-08-22 22:53:40 +00:00
parent c69168b107
commit a3cb1fb0b6
@@ -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) {