Author: mrisaliti
Date: Fri Mar 4 23:15:45 2011
New Revision: 1078209
URL:
http://svn.apache.org/viewvc?rev=1078209&view=revLog:
Remove some warning in MapComparator (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/MapComparator.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/MapComparator.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/MapComparator.java?rev=1078209&r1=1078208&r2=1078209&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/MapComparator.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/collections/MapComparator.java Fri Mar 4 23:15:45 2011
@@ -67,7 +67,7 @@ public class MapComparator implements Co
Object o1 = null;
Object o2 = null;
- if (key instanceof FlexibleMapAccessor) {
+ if (key instanceof FlexibleMapAccessor<?>) {
FlexibleMapAccessor<Object> fmaKey = UtilGenerics.cast(key);
ascending = fmaKey.getIsAscending();