commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1051854 - /commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java
Date Wed, 22 Dec 2010 11:39:31 GMT
Author: simonetripodi
Date: Wed Dec 22 11:39:31 2010
New Revision: 1051854

URL: http://svn.apache.org/viewvc?rev=1051854&view=rev
Log:
getFactory() method doesn't need to be synchronized since _factory is private final

Modified:
    commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java

Modified: commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java?rev=1051854&r1=1051853&r2=1051854&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java
(original)
+++ commons/proper/pool/trunk/src/java/org/apache/commons/pool2/impl/StackKeyedObjectPoolFactory.java
Wed Dec 22 11:39:31 2010
@@ -95,7 +95,7 @@ public class StackKeyedObjectPoolFactory
      * @return factory setting for created pools
      * @since 1.5.5
      */
-    public synchronized KeyedPoolableObjectFactory<K,V> getFactory() {
+    public KeyedPoolableObjectFactory<K,V> getFactory() {
         return _factory;
     }
 



Mime
View raw message