Repository: commons-pool
Updated Branches:
  refs/heads/master 892b9b891 -> a267d66e3


Use final.

Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/a267d66e
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/a267d66e
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/a267d66e

Branch: refs/heads/master
Commit: a267d66e3a73ccb00f53b7f0e2ca64643857253d
Parents: 892b9b8
Author: Gary Gregory <ggreg...@apache.org>
Authored: Mon Oct 23 17:04:29 2017 -0600
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Mon Oct 23 17:04:29 2017 -0600

----------------------------------------------------------------------
 .../org/apache/commons/pool2/impl/TestGenericObjectPool.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/a267d66e/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
----------------------------------------------------------------------
diff --git 
a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java 
b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
index 148fb73..92abfce 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
@@ -2653,7 +2653,7 @@ public class TestGenericObjectPool extends 
TestBaseObjectPool {
                        }
 
                        @Override
-                       public PooledObject<String> wrap(String obj) {
+                       public PooledObject<String> wrap(final String obj) {
                                // fake
                                return null;
                        }
@@ -2662,14 +2662,14 @@ public class TestGenericObjectPool extends 
TestBaseObjectPool {
 
        @Test
        public void testGetFactoryType() {
-               GenericObjectPool<String> pool = new 
GenericObjectPool<String>(createBasePooledObjectfactory());
+               final GenericObjectPool<String> pool = new 
GenericObjectPool<String>(createBasePooledObjectfactory());
                Assert.assertNotNull((pool.getFactoryType()));
        }
 
        @Test
        @Ignore
        public void testGetFactoryType_PoolUtilssynchronizedPooledFactory() {
-               GenericObjectPool<String> pool = new GenericObjectPool<String>(
+               final GenericObjectPool<String> pool = new 
GenericObjectPool<String>(
                                
PoolUtils.synchronizedPooledFactory(createBasePooledObjectfactory()));
                Assert.assertNotNull((pool.getFactoryType()));
        }
@@ -2677,7 +2677,7 @@ public class TestGenericObjectPool extends 
TestBaseObjectPool {
        @Test
        @Ignore
        public void testGetFactoryType_SynchronizedPooledObjectFactory() {
-               GenericObjectPool<String> pool = new GenericObjectPool<String>(
+               final GenericObjectPool<String> pool = new 
GenericObjectPool<String>(
                                new 
TestSynchronizedPooledObjectFactory<String>(createBasePooledObjectfactory()));
                Assert.assertNotNull((pool.getFactoryType()));
        }

Reply via email to