Removed redundant synchronized on setFields because it is synced on set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@653009 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -901,7 +901,7 @@ public class GenericEntity extends Observable implements Map<String, Object>, Lo
|
||||
/** Used by clients to update particular fields in the entity
|
||||
* @param keyValuePairs java.util.Map
|
||||
*/
|
||||
public synchronized void setFields(Map<? extends String, ? extends Object> keyValuePairs) {
|
||||
public void setFields(Map<? extends String, ? extends Object> keyValuePairs) {
|
||||
if (keyValuePairs == null) return;
|
||||
// this could be implement with Map.putAll, but we'll leave it like this for the extra features it has
|
||||
for (Map.Entry<? extends String, ? extends Object> anEntry: keyValuePairs.entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user