Author: mrisaliti
Date: Sun Mar 13 09:31:40 2011
New Revision: 1081065
URL:
http://svn.apache.org/viewvc?rev=1081065&view=revLog:
Remove a reduntant cast warning in PreferenceServices (OFBIZ-4102)
Modified:
ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java
Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java?rev=1081065&r1=1081064&r2=1081065&view=diff==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java Sun Mar 13 09:31:40 2011
@@ -144,7 +144,7 @@ public class PreferenceServices {
for (Map.Entry<String, Object> pairs: userPrefMap.entrySet()) {
if ("DEFAULT".equals(pairs.getValue())) {
if (UtilValidate.isNotEmpty(generalProperties.get(pairs.getKey()))) {
- userPrefMap.put((String) pairs.getKey(), generalProperties.get(pairs.getKey()));
+ userPrefMap.put(pairs.getKey(), generalProperties.get(pairs.getKey()));
}
}
}