commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject commons-pool git commit: Remove trailing white spaces on all lines.
Date Wed, 01 Nov 2017 22:04:52 GMT
Repository: commons-pool
Updated Branches:
  refs/heads/master 46f4ab707 -> 26f072ec6


Remove trailing white spaces on all lines.

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

Branch: refs/heads/master
Commit: 26f072ec6e5dc0398f5d4b447287445ecaca8c3a
Parents: 46f4ab7
Author: Gary Gregory <ggregory@apache.org>
Authored: Wed Nov 1 16:04:50 2017 -0600
Committer: Gary Gregory <ggregory@apache.org>
Committed: Wed Nov 1 16:04:50 2017 -0600

----------------------------------------------------------------------
 src/test/java/org/apache/commons/pool2/TestPoolUtils.java      | 4 ++--
 src/test/java/org/apache/commons/pool2/Waiter.java             | 4 ++--
 .../org/apache/commons/pool2/impl/TestAbandonedObjectPool.java | 2 +-
 .../apache/commons/pool2/impl/TestBaseGenericObjectPool.java   | 6 +++---
 .../org/apache/commons/pool2/impl/TestGenericObjectPool.java   | 2 +-
 .../pool2/impl/TestSynchronizedPooledObjectFactory.java        | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/TestPoolUtils.java b/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
index fb63911..7030c7b 100644
--- a/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
+++ b/src/test/java/org/apache/commons/pool2/TestPoolUtils.java
@@ -253,7 +253,7 @@ public class TestPoolUtils {
             fail("PoolUtils.checkMinIdle(KeyedObjectPool,Collection,int,long) must accept
empty lists.");
         }
     }
-    
+
     @Test
     public void testCheckMinIdleKeyedObjectPoolKeys() throws Exception {
         // Because this isn't deterministic and you can get false failures, try more than
once.
@@ -559,7 +559,7 @@ public class TestPoolUtils {
     public void testErodingObjectPoolDefaultFactor() {
         try (@SuppressWarnings("unchecked")
             final ObjectPool<Object> internalPool = createProxy(ObjectPool.class, new
InvocationHandler() {
-                
+
             @Override
             public Object invoke(final Object arg0, final Method arg1, final Object[] arg2)
throws Throwable {
                 return null;

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/src/test/java/org/apache/commons/pool2/Waiter.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/Waiter.java b/src/test/java/org/apache/commons/pool2/Waiter.java
index ce4fc5b..6f99568 100644
--- a/src/test/java/org/apache/commons/pool2/Waiter.java
+++ b/src/test/java/org/apache/commons/pool2/Waiter.java
@@ -136,14 +136,14 @@ public class Waiter {
     public long getLastIdleTimeMs() {
         return lastIdleTimeMs;
     }
-    
+
     /**
      * @return how many times this instance has been validated
      */
     public long getValidationCount() {
         return validationCount;
     }
-    
+
     /**
      * @return how many times this instance has been passivated
      */

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/src/test/java/org/apache/commons/pool2/impl/TestAbandonedObjectPool.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestAbandonedObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestAbandonedObjectPool.java
index 6dadbce..becfad1 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestAbandonedObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestAbandonedObjectPool.java
@@ -263,7 +263,7 @@ public class TestAbandonedObjectPool {
 
         Assert.assertTrue (end - start < 5000);
     }
-    
+
     /**
      * JIRA: POOL-300
      */

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
index 3b90a4f..bb03c23 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestBaseGenericObjectPool.java
@@ -40,9 +40,9 @@ public class TestBaseGenericObjectPool {
     public void tearDown() throws Exception {
         pool.close();
         pool = null;
-        factory = null; 
+        factory = null;
     }
-    
+
     @Test
     public void testBorrowWaitStatistics() {
         final DefaultPooledObject<String> p = (DefaultPooledObject<String>) factory.makeObject();
@@ -66,7 +66,7 @@ public class TestBaseGenericObjectPool {
         pool.updateStatsBorrow(p, 10);
         Assert.assertEquals(20, pool.getMaxBorrowWaitTimeMillis(), Double.MIN_VALUE);
     }
-    
+
     @Test
     public void testActiveTimeStatistics() {
     	for (int i = 0; i < 99; i++) {  // must be < MEAN_TIMING_STATS_CACHE_SIZE

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/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 b747294..915b4c4 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestGenericObjectPool.java
@@ -2634,7 +2634,7 @@ public class TestGenericObjectPool extends TestBaseObjectPool {
             return semaphore.hasQueuedThreads();
         }
     }
-    
+
 	private BasePooledObjectFactory<String> createBasePooledObjectfactory() {
 		return new BasePooledObjectFactory<String>() {
 			@Override

http://git-wip-us.apache.org/repos/asf/commons-pool/blob/26f072ec/src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java
b/src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java
index 6087fdc..e7c8488 100644
--- a/src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java
+++ b/src/test/java/org/apache/commons/pool2/impl/TestSynchronizedPooledObjectFactory.java
@@ -25,7 +25,7 @@ import org.apache.commons.pool2.PooledObjectFactory;
 
 /**
  * Copies PoolUtil's private static class SynchronizedPooledObjectFactory.
- * 
+ *
  * A fully synchronized PooledObjectFactory that wraps a PooledObjectFactory and
  * synchronizes access to the wrapped factory methods.
  * <p>
@@ -35,7 +35,7 @@ import org.apache.commons.pool2.PooledObjectFactory;
  * </p>
  */
 final class TestSynchronizedPooledObjectFactory<T> implements PooledObjectFactory<T>
{
-	
+
 	/** Synchronization lock */
 	private final WriteLock writeLock = new ReentrantReadWriteLock().writeLock();
 


Mime
View raw message