commons-commits mailing list archives

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

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/DiscoverResources.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/DiscoverResources.java?rev=1088140&r1=1088139&r2=1088140&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/DiscoverResources.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/DiscoverResources.java
Sat Apr  2 21:41:16 2011
@@ -42,14 +42,14 @@ public class DiscoverResources
     public static void setLog(Log _log) {
         log = _log;
     }
-    
+
     /**
      * Construct a new resource discoverer
      */
     public DiscoverResources() {
         super();
     }
-    
+
     /**
      *  Construct a new resource discoverer
      */
@@ -69,20 +69,20 @@ public class DiscoverResources
             private ClassLoader loader = null;
             private Enumeration<URL> resources = null;
             private Resource resource = null;
-            
+
             public boolean hasNext() {
                 if (resource == null) {
                     resource = getNextResource();
                 }
                 return resource != null;
             }
-            
+
             public Resource nextResource() {
                 Resource element = resource;
                 resource = null;
                 return element;
             }
-            
+
             private Resource getNextResource() {
                 if (resources == null || !resources.hasMoreElements()) {
                     resources = getNextResources();
@@ -99,10 +99,10 @@ public class DiscoverResources
                 } else {
                     resourceInfo = null;
                 }
-                
+
                 return resourceInfo;
             }
-            
+
             private Enumeration<URL> getNextResources() {
                 while (idx < getClassLoaders().size()) {
                     loader = getClassLoaders().get(idx++);



Mime
View raw message