activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r512497 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
Date Tue, 27 Feb 2007 23:42:05 GMT
Author: rajdavies
Date: Tue Feb 27 15:42:03 2007
New Revision: 512497

URL: http://svn.apache.org/viewvc?view=rev&rev=512497
Log:
should be a synchronized call around getVmLockSet()

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java?view=diff&rev=512497&r1=512496&r2=512497
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/kaha/impl/KahaStore.java
Tue Feb 27 15:42:03 2007
@@ -496,7 +496,7 @@
 
     
 
-    static private Set<String> getVmLockSet(){
+    static synchronized private Set<String> getVmLockSet(){
         if(lockSet==null){
             Properties properties=System.getProperties();
             synchronized(properties){



Mime
View raw message