commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088137 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
Date Sat, 02 Apr 2011 21:37:09 GMT
Author: simonetripodi
Date: Sat Apr  2 21:37:08 2011
New Revision: 1088137

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java?rev=1088137&r1=1088136&r2=1088137&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/names/NameDiscoverers.java
Sat Apr  2 21:37:08 2011
@@ -42,13 +42,13 @@ public class NameDiscoverers
     }
 
     private List<ResourceNameDiscover> discoverers = new ArrayList<ResourceNameDiscover>();
-    
+
     /**
      *  Construct a new resource name discoverer
      */
     public NameDiscoverers() {
     }
-    
+
     /**
      * Specify an additional class loader to be used in searching.
      * The order of loaders determines the order of the result.
@@ -70,7 +70,7 @@ public class NameDiscoverers
 
     /**
      * Set of results of all discoverers.
-     * 
+     *
      * @return ResourceIterator
      */
     public ResourceNameIterator findResourceNames(final String resourceName) {
@@ -80,7 +80,7 @@ public class NameDiscoverers
         return new ResourceNameIterator() {
             private int idx = 0;
             private ResourceNameIterator iterator = null;
-            
+
             public boolean hasNext() {
                 if (iterator == null  ||  !iterator.hasNext()) {
                     iterator = getNextIterator();
@@ -90,11 +90,11 @@ public class NameDiscoverers
                 }
                 return iterator.hasNext();
             }
-            
+
             public String nextResourceName() {
                 return iterator.nextResourceName();
             }
-            
+
             private ResourceNameIterator getNextIterator() {
                 while (idx < size()) {
                     ResourceNameIterator iter =



Mime
View raw message