You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2018/05/26 17:21:56 UTC
[2/3] commons-pool git commit: Remove trailing spaces.
Remove trailing spaces.
Project: http://git-wip-us.apache.org/repos/asf/commons-pool/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-pool/commit/54996726
Tree: http://git-wip-us.apache.org/repos/asf/commons-pool/tree/54996726
Diff: http://git-wip-us.apache.org/repos/asf/commons-pool/diff/54996726
Branch: refs/heads/master
Commit: 54996726a89142f694efa43192b2547a907bf333
Parents: 7e1b7e4
Author: Gary Gregory <ga...@gmail.com>
Authored: Sat May 26 11:20:33 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Sat May 26 11:20:33 2018 -0600
----------------------------------------------------------------------
src/main/java/org/apache/commons/pool2/PoolUtils.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-pool/blob/54996726/src/main/java/org/apache/commons/pool2/PoolUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/PoolUtils.java b/src/main/java/org/apache/commons/pool2/PoolUtils.java
index ba05cd4..a3097f1 100644
--- a/src/main/java/org/apache/commons/pool2/PoolUtils.java
+++ b/src/main/java/org/apache/commons/pool2/PoolUtils.java
@@ -639,7 +639,7 @@ public final class PoolUtils {
*/
private static final class KeyedObjectPoolMinIdleTimerTask<K, V> extends
TimerTask {
-
+
/** Minimum number of idle instances. Not the same as pool.getMinIdle(). */
private final int minIdle;
@@ -1119,7 +1119,7 @@ public final class PoolUtils {
*/
private static final class SynchronizedPooledObjectFactory<T> implements
PooledObjectFactory<T> {
-
+
/** Synchronization lock */
private final WriteLock writeLock = new ReentrantReadWriteLock().writeLock();
@@ -1236,7 +1236,7 @@ public final class PoolUtils {
*/
private static final class SynchronizedKeyedPooledObjectFactory<K, V>
implements KeyedPooledObjectFactory<K, V> {
-
+
/** Synchronization lock */
private final WriteLock writeLock = new ReentrantReadWriteLock().writeLock();
@@ -1421,7 +1421,7 @@ public final class PoolUtils {
* @param <T> type of objects in the pool
*/
private static class ErodingObjectPool<T> implements ObjectPool<T> {
-
+
/** Underlying object pool */
private final ObjectPool<T> pool;
@@ -1567,7 +1567,7 @@ public final class PoolUtils {
*/
private static class ErodingKeyedObjectPool<K, V> implements
KeyedObjectPool<K, V> {
-
+
/** Underlying pool */
private final KeyedObjectPool<K, V> keyedPool;
@@ -1781,7 +1781,7 @@ public final class PoolUtils {
*/
private static final class ErodingPerKeyKeyedObjectPool<K, V> extends
ErodingKeyedObjectPool<K, V> {
-
+
/** Erosion factor - same for all pools */
private final float factor;