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 16:15:49 UTC

commons-pool git commit: Adjust line length on in-line comments.

Repository: commons-pool
Updated Branches:
  refs/heads/master fca6c0ab2 -> d63cc48fd


Adjust line length on in-line comments.

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

Branch: refs/heads/master
Commit: d63cc48fdceacdc54f6d054b5be7bc669b24bee5
Parents: fca6c0a
Author: Gary Gregory <ga...@gmail.com>
Authored: Sat May 26 10:15:46 2018 -0600
Committer: Gary Gregory <ga...@gmail.com>
Committed: Sat May 26 10:15:46 2018 -0600

----------------------------------------------------------------------
 src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-pool/blob/d63cc48f/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
index be4bbd8..d39c96f 100644
--- a/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
+++ b/src/main/java/org/apache/commons/pool2/impl/PoolImplUtils.java
@@ -78,12 +78,10 @@ class PoolImplUtils {
 
         final Object result = getGenericType(type, superClazz);
         if (result instanceof Class<?>) {
-            // Superclass implements interface and defines explicit type for
-            // generic
+            // Superclass implements interface and defines explicit type for generic
             return result;
         } else if (result instanceof Integer) {
-            // Superclass implements interface and defines unknown type for
-            // generic
+            // Superclass implements interface and defines unknown type for generic
             // Map that unknown type to the generic types defined in this class
             final ParameterizedType superClassType = (ParameterizedType) clazz.getGenericSuperclass();
             return getTypeParameter(clazz, superClassType.getActualTypeArguments()[((Integer) result).intValue()]);