commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088727 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java
Date Mon, 04 Apr 2011 19:00:54 GMT
Author: simonetripodi
Date: Mon Apr  4 19:00:54 2011
New Revision: 1088727

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

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java?rev=1088727&r1=1088726&r2=1088727&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java
Mon Apr  4 19:00:54 2011
@@ -33,14 +33,16 @@ public abstract class ResourceClassDisco
     implements ResourceClassDiscover<T>
 {
     /**
-     * Construct a new resource discoverer
+     * Construct a new resource discoverer.
      */
     public ResourceClassDiscoverImpl() {
         super();
     }
 
     /**
-     *  Construct a new resource discoverer
+     * Construct a new resource discoverer.
+     *
+     * @param classLoaders The class loaders holder
      */
     public ResourceClassDiscoverImpl(ClassLoaders classLoaders) {
         super(classLoaders);
@@ -48,9 +50,7 @@ public abstract class ResourceClassDisco
 
 
     /**
-     * Locate names of resources that are bound to <code>resourceName</code>.
-     *
-     * @return ResourceNameIterator
+     * {@inheritDoc}
      */
     @Override
     public ResourceNameIterator findResourceNames(String resourceName) {
@@ -58,9 +58,7 @@ public abstract class ResourceClassDisco
     }
 
     /**
-     * Locate names of resources that are bound to <code>resourceNames</code>.
-     *
-     * @return ResourceNameIterator
+     * {@inheritDoc}
      */
     @Override
     public ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames) {
@@ -68,9 +66,7 @@ public abstract class ResourceClassDisco
     }
 
     /**
-     * Locate resources that are bound to <code>resourceName</code>.
-     *
-     * @return ResourceIterator
+     * {@inheritDoc}
      */
     @Override
     public ResourceIterator findResources(String resourceName) {
@@ -78,9 +74,7 @@ public abstract class ResourceClassDisco
     }
 
     /**
-     * Locate resources that are bound to <code>resourceNames</code>.
-     *
-     * @return ResourceIterator
+     * {@inheritDoc}
      */
     @Override
     public ResourceIterator findResources(ResourceNameIterator resourceNames) {
@@ -96,9 +90,10 @@ public abstract class ResourceClassDisco
     public abstract ResourceClassIterator<T> findResourceClasses(String className);
 
     /**
-     * Locate class resources that are bound to <code>resourceNames</code>.
-     * 
-     * @return ResourceIterator
+     * Locate class resources that are bound to {@code resourceNames}.
+     *
+     * @param inputNames The resource name iterator
+     * @return a new {@link ResourceClassIterator} over the given resource name iterator
      */
     public ResourceClassIterator<T> findResourceClasses(final ResourceNameIterator
inputNames) {
         return new ResourceClassIterator<T>() {



Mime
View raw message