Author: lektran
Date: Fri Aug 22 15:53:40 2008
New Revision: 688212
URL:
http://svn.apache.org/viewvc?rev=688212&view=revLog:
Recommitting r687578, changed slightly to follow Adam's lead
Modified:
ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityComparisonOperator.java
Modified: ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityComparisonOperator.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityComparisonOperator.java?rev=688212&r1=688211&r2=688212&view=diff==============================================================================
--- ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityComparisonOperator.java (original)
+++ ofbiz/trunk/framework/entity/src/org/ofbiz/entity/condition/EntityComparisonOperator.java Fri Aug 22 15:53:40 2008
@@ -127,7 +127,7 @@
}
}
- 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 @@
}
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) {