commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1571791 - in /commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl: GenericKeyedObjectPool.java GenericObjectPool.java
Date Tue, 25 Feb 2014 19:23:02 GMT
Author: sebb
Date: Tue Feb 25 19:23:01 2014
New Revision: 1571791

URL: http://svn.apache.org/r1571791
Log:
Typo

Modified:
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
    commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java?rev=1571791&r1=1571790&r2=1571791&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericKeyedObjectPool.java
Tue Feb 25 19:23:01 2014
@@ -517,7 +517,7 @@ public class GenericKeyedObjectPool<K,T>
 
         if (!p.deallocate()) {
             throw new IllegalStateException(
-                    "Object has already been retured to this pool");
+                    "Object has already been returned to this pool");
         }
 
         int maxIdle = getMaxIdlePerKey();

Modified: commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
URL: http://svn.apache.org/viewvc/commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java?rev=1571791&r1=1571790&r2=1571791&view=diff
==============================================================================
--- commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
(original)
+++ commons/proper/pool/trunk/src/main/java/org/apache/commons/pool2/impl/GenericObjectPool.java
Tue Feb 25 19:23:01 2014
@@ -546,7 +546,7 @@ public class GenericObjectPool<T> extend
                     final PooledObjectState state = p.getState();
                     if (state != PooledObjectState.ALLOCATED) {
                         throw new IllegalStateException(
-                                "Object has already been retured to this pool or is invalid");
+                                "Object has already been returned to this pool or is invalid");
                     } else {
                         p.markReturning(); // Keep from being marked abandoned
                     }
@@ -593,7 +593,7 @@ public class GenericObjectPool<T> extend
 
         if (!p.deallocate()) {
             throw new IllegalStateException(
-                    "Object has already been retured to this pool or is invalid");
+                    "Object has already been returned to this pool or is invalid");
         }
 
         int maxIdleSave = getMaxIdle();



Mime
View raw message