[exo-jcr-commits] exo-jcr SVN: r1533 - jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/config.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Jan 21 12:12:07 EST 2010


Author: areshetnyak
Date: 2010-01-21 12:12:07 -0500 (Thu, 21 Jan 2010)
New Revision: 1533

Modified:
   jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/config/RepositoryServiceConfigurationImpl.java
Log:
EXOJCR-381 : The create synchronization on method retain() in RepositoryServiceConfigurationImpl. This method maybe using at different threads.

Modified: jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/config/RepositoryServiceConfigurationImpl.java
===================================================================
--- jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/config/RepositoryServiceConfigurationImpl.java	2010-01-21 16:13:00 UTC (rev 1532)
+++ jcr/trunk/exo.jcr.component.core/src/main/java/org/exoplatform/services/jcr/impl/config/RepositoryServiceConfigurationImpl.java	2010-01-21 17:12:07 UTC (rev 1533)
@@ -148,7 +148,7 @@
     * 
     * @throws RepositoryException
     */
-   public void retain() throws RepositoryException
+   public synchronized void retain() throws RepositoryException
    {
       try
       {



More information about the exo-jcr-commits mailing list