From 3897a70ee33a25c0b352f7e03fd5a637e02e57ce Mon Sep 17 00:00:00 2001 From: "David E. Jones" Date: Sat, 3 May 2008 06:43:39 +0000 Subject: [PATCH] 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 --- framework/entity/src/org/ofbiz/entity/GenericEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/entity/src/org/ofbiz/entity/GenericEntity.java b/framework/entity/src/org/ofbiz/entity/GenericEntity.java index debc038f30..b50ee28f4f 100644 --- a/framework/entity/src/org/ofbiz/entity/GenericEntity.java +++ b/framework/entity/src/org/ofbiz/entity/GenericEntity.java @@ -901,7 +901,7 @@ public class GenericEntity extends Observable implements Map, Lo /** Used by clients to update particular fields in the entity * @param keyValuePairs java.util.Map */ - public synchronized void setFields(Map keyValuePairs) { + public void setFields(Map 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 anEntry: keyValuePairs.entrySet()) {