You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/04 21:34:04 UTC

svn commit: r1088753 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java

Author: simonetripodi
Date: Mon Apr  4 19:34:03 2011
New Revision: 1088753

URL: http://svn.apache.org/viewvc?rev=1088753&view=rev
Log:
fixed checkstyle violations

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java?rev=1088753&r1=1088752&r2=1088753&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceNameIterator.java Mon Apr  4 19:34:03 2011
@@ -32,13 +32,18 @@ package org.apache.commons.discovery;
 public interface ResourceNameIterator
 {
     /**
-     * hasNext()
+     * Returns true if the iteration has more elements.
+     *
+     * @return true if the iterator has more elements, false otherwise
      */
     boolean hasNext();
 
     /**
      * nextResourceName() returns the name of the next resource,
      * and MUST be non-destructive.  Repeated calls
+     *
+     * @return The next resource name in the iteration
      */
     String nextResourceName();
+
 }