You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/03/13 10:31:40 UTC

svn commit: r1081065 - /ofbiz/trunk/framework/common/src/org/ofbiz/common/preferences/PreferenceServices.java

Author: mrisaliti
Date: Sun Mar 13 09:31:40 2011
New Revision: 1081065

URL: http://svn.apache.org/viewvc?rev=1081065&view=rev
Log:
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()));
                 }
             }
         }