commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r1507559 - /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
Date Sat, 27 Jul 2013 02:12:06 GMT
Author: jcarman
Date: Sat Jul 27 02:12:05 2013
New Revision: 1507559

URL: http://svn.apache.org/r1507559
Log:
Fixing synchronization.

Modified:
    commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java?rev=1507559&r1=1507558&r2=1507559&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
Sat Jul 27 02:12:05 2013
@@ -64,7 +64,7 @@ public class SingletonProvider<T> extend
                 // Garbage collection
                 inner = null;
             }
+            return instance;
         }
-        return instance;
     }
 }



Mime
View raw message