From ca401c4f9e30ab59cb12fc4098aec21b660f686f Mon Sep 17 00:00:00 2001 From: Abhishek Koneru Date: Thu, 19 Jul 2012 12:46:10 -0400 Subject: Patch 25 - Misc Fixes --- base/common/src/com/netscape/cmscore/base/SimpleProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/common/src/com/netscape/cmscore/base') diff --git a/base/common/src/com/netscape/cmscore/base/SimpleProperties.java b/base/common/src/com/netscape/cmscore/base/SimpleProperties.java index 2fa319ffc..38c17d861 100644 --- a/base/common/src/com/netscape/cmscore/base/SimpleProperties.java +++ b/base/common/src/com/netscape/cmscore/base/SimpleProperties.java @@ -347,7 +347,7 @@ public class SimpleProperties extends Hashtable { * @return the value in this property list with the specified key value. * @see java.util.Properties#defaults */ - public String getProperty(String key) { + public synchronized String getProperty(String key) { String oval = super.get(key); return ((oval == null) && (defaults != null)) ? defaults.getProperty(key) : oval; -- cgit