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:54:31 UTC

svn commit: r1088765 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceClassIterator.java

Author: simonetripodi
Date: Mon Apr  4 19:54:31 2011
New Revision: 1088765

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceClassIterator.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceClassIterator.java?rev=1088765&r1=1088764&r2=1088765&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceClassIterator.java (original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ResourceClassIterator.java Mon Apr  4 19:54:31 2011
@@ -18,19 +18,33 @@ package org.apache.commons.discovery;
 
 
 /**
+ * Iterator over discovered SPI type.
+ *
+ * @param <T> The SPI type
+ *
  * @author Richard A. Sitze
  */
 public abstract class ResourceClassIterator<T> extends ResourceIterator
 {
     /**
+     * Returns the next SPI Class in the iteration.
+     *
+     * @param <S> Any type extends T
+     * @return The next SPI Class in the iteration
      */
     public abstract <S extends T> ResourceClass<S> nextResourceClass();
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public Resource nextResource() {
         return nextResourceClass();
     }
 
+    /**
+     * {@inheritDoc}
+     */
     @Override
     public String nextResourceName() {
         return nextResourceClass().getName();