You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2015/05/10 22:23:18 UTC

svn commit: r1678638 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/xpath/ConfigurationNodeIteratorChildren.java

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;
             }