Author: lektran
Date: Thu Aug 21 18:09:14 2008
New Revision: 687918
URL:
http://svn.apache.org/viewvc?rev=687918&view=revLog:
Reverted 687578, which will at least take the problem back to a minor bug rather than a major one, sorry everyone
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=687918&r1=687917&r2=687918&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 Thu Aug 21 18:09:14 2008
@@ -127,7 +127,7 @@
}
}
- public <T extends Comparable<T>> boolean compare(T lhs, Object rhs) {
+ public <T extends Comparable<T>> boolean compare(T lhs, T rhs) {
throw new UnsupportedOperationException(codeString);
}
@@ -155,7 +155,7 @@
}
if (leftValue == WILDCARD || rightValue == WILDCARD) return true;
- return compare((Comparable) leftValue, rightValue);
+ return compare((Comparable) leftValue, (Comparable) rightValue);
}
public EntityCondition freeze(Object lhs, Object rhs) {