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:
@@ -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()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user