commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088129 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/ResourceClassDiscoverImpl.java
Date Sat, 02 Apr 2011 21:27:52 GMT
Author: simonetripodi
Date: Sat Apr  2 21:27:52 2011
New Revision: 1088129

URL: http://svn.apache.org/viewvc?rev=1088129&view=rev
Log:
removed trailing spaces

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=1088129&r1=1088128&r2=1088129&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
Sat Apr  2 21:27:52 2011
@@ -38,7 +38,7 @@ public abstract class ResourceClassDisco
     public ResourceClassDiscoverImpl() {
         super();
     }
-    
+
     /**
      *  Construct a new resource discoverer
      */
@@ -49,7 +49,7 @@ public abstract class ResourceClassDisco
 
     /**
      * Locate names of resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public ResourceNameIterator findResourceNames(String resourceName) {
@@ -58,7 +58,7 @@ public abstract class ResourceClassDisco
 
     /**
      * Locate names of resources that are bound to <code>resourceNames</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames) {
@@ -67,7 +67,7 @@ public abstract class ResourceClassDisco
 
     /**
      * Locate resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceIterator
      */
     public ResourceIterator findResources(String resourceName) {
@@ -76,7 +76,7 @@ public abstract class ResourceClassDisco
 
     /**
      * Locate resources that are bound to <code>resourceNames</code>.
-     * 
+     *
      * @return ResourceIterator
      */
     public ResourceIterator findResources(ResourceNameIterator resourceNames) {
@@ -86,7 +86,7 @@ public abstract class ResourceClassDisco
 
     /**
      * Locate class resources that are bound to <code>className</code>.
-     * 
+     *
      * @return ResourceClassIterator
      */
     public abstract ResourceClassIterator<T> findResourceClasses(String className);
@@ -100,27 +100,27 @@ public abstract class ResourceClassDisco
         return new ResourceClassIterator<T>() {
             private ResourceClassIterator<T> classes = null;
             private ResourceClass<T> resource = null;
-            
+
             public boolean hasNext() {
                 if (resource == null) {
                     resource = getNextResource();
                 }
                 return resource != null;
             }
-            
+
             public ResourceClass<T> nextResourceClass() {
                 ResourceClass<T> rsrc = resource;
                 resource = null;
                 return rsrc;
             }
-            
+
             private ResourceClass<T> getNextResource() {
                 while (inputNames.hasNext() &&
                        (classes == null  ||  !classes.hasNext())) {
                     classes =
                         findResourceClasses(inputNames.nextResourceName());
                 }
-    
+
                 return (classes != null  &&  classes.hasNext())
                        ? classes.nextResourceClass()
                        : null;



Mime
View raw message