Remove a reduntant cast warning in PreferenceServices (OFBIZ-4102)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1081065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marco Risaliti
2011-03-13 09:31:40 +00:00
parent 90f618e6fb
commit d0953abc06
@@ -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()));
}
}
}