commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1678638 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java
Date Sun, 10 May 2015 20:23:18 GMT
Author: oheger
Date: Sun May 10 20:23:18 2015
New Revision: 1678638

URL: http://svn.apache.org/r1678638
Log:
Checkstyle: Missing @param tag for type parameter; formatting.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java?rev=1678638&r1=1678637&r2=1678638&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java
Sun May 10 20:23:18 2015
@@ -34,6 +34,7 @@ import org.apache.commons.lang3.StringUt
  *
  * @since 1.3
  * @version $Id$
+ * @param <T> the type of the nodes this iterator deals with
  */
 class ConfigurationNodeIteratorChildren<T> extends
         ConfigurationNodeIteratorBase<T>
@@ -202,9 +203,9 @@ class ConfigurationNodeIteratorChildren<
     private int findStartIndex(List<T> children, T startNode)
     {
         int index = 0;
-        for(T child : children)
+        for (T child : children)
         {
-            if(child == startNode)
+            if (child == startNode)
             {
                 return index;
             }



Mime
View raw message