summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/base
diff options
context:
space:
mode:
authorAbhishek Koneru <akoneru@redhat.com>2012-07-19 12:46:10 -0400
committerEndi Sukma Dewata <edewata@redhat.com>2012-07-25 10:41:57 -0500
commitca401c4f9e30ab59cb12fc4098aec21b660f686f (patch)
tree9a4a349bcfaa195960801264ca36e639b896cb89 /base/common/src/com/netscape/cmscore/base
parent2a3125d54365bf1806633c3301ce59fdb21461e4 (diff)
downloadpki-ca401c4f9e30ab59cb12fc4098aec21b660f686f.tar.gz
pki-ca401c4f9e30ab59cb12fc4098aec21b660f686f.tar.xz
pki-ca401c4f9e30ab59cb12fc4098aec21b660f686f.zip
Patch 25 - Misc Fixes
Diffstat (limited to 'base/common/src/com/netscape/cmscore/base')
-rw-r--r--base/common/src/com/netscape/cmscore/base/SimpleProperties.java2
1 files changed, 1 insertions, 1 deletions
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<String, String> {
* @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;