commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088141 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ResourceDiscoverImpl.java
Date Sat, 02 Apr 2011 21:42:26 GMT
Author: simonetripodi
Date: Sat Apr  2 21:42:26 2011
New Revision: 1088141

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ResourceDiscoverImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ResourceDiscoverImpl.java?rev=1088141&r1=1088140&r2=1088141&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ResourceDiscoverImpl.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/ResourceDiscoverImpl.java
Sat Apr  2 21:42:26 2011
@@ -34,13 +34,13 @@ public abstract class ResourceDiscoverIm
 {
     private ClassLoaders classLoaders;
 
-    
+
     /**
      * Construct a new resource discoverer
      */
     public ResourceDiscoverImpl() {
     }
-    
+
     /**
      *  Construct a new resource discoverer
      */
@@ -73,7 +73,7 @@ public abstract class ResourceDiscoverIm
 
     /**
      * Locate names of resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public ResourceNameIterator findResourceNames(String resourceName) {
@@ -82,7 +82,7 @@ public abstract class ResourceDiscoverIm
 
     /**
      * Locate names of resources that are bound to <code>resourceNames</code>.
-     * 
+     *
      * @return ResourceNameIterator
      */
     public ResourceNameIterator findResourceNames(ResourceNameIterator resourceNames) {
@@ -91,40 +91,40 @@ public abstract class ResourceDiscoverIm
 
     /**
      * Locate resources that are bound to <code>resourceName</code>.
-     * 
+     *
      * @return ResourceIterator
      */
     public abstract ResourceIterator findResources(String resourceName);
 
     /**
      * Locate resources that are bound to <code>resourceNames</code>.
-     * 
+     *
      * @return ResourceIterator
      */
     public ResourceIterator findResources(final ResourceNameIterator inputNames) {
         return new ResourceIterator() {
             private ResourceIterator resources = null;
             private Resource resource = null;
-            
+
             public boolean hasNext() {
                 if (resource == null) {
                     resource = getNextResource();
                 }
                 return resource != null;
             }
-            
+
             public Resource nextResource() {
                 Resource rsrc = resource;
                 resource = null;
                 return rsrc;
             }
-            
+
             private Resource getNextResource() {
                 while (inputNames.hasNext() &&
                        (resources == null  ||  !resources.hasNext())) {
                     resources = findResources(inputNames.nextResourceName());
                 }
-    
+
                 return (resources != null  &&  resources.hasNext())
                        ? resources.nextResource()
                        : null;



Mime
View raw message