commons-commits mailing list archives

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

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java?rev=1088128&r1=1088127&r2=1088128&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/classes/DiscoverClasses.java
Sat Apr  2 21:26:32 2011
@@ -50,16 +50,16 @@ public class DiscoverClasses<T>
     public DiscoverClasses() {
         super();
     }
-    
+
     /** Construct a new resource discoverer
      */
     public DiscoverClasses(ClassLoaders classLoaders) {
         super(classLoaders);
     }
-    
+
     public ResourceClassIterator<T> findResourceClasses(final String className) {
         final String resourceName = className.replace('.','/') + ".class";
-        
+
         if (log.isDebugEnabled())
             log.debug("find: className='" + className + "'");
 
@@ -67,20 +67,20 @@ public class DiscoverClasses<T>
             private List<URL> history = new ArrayList<URL>();
             private int idx = 0;
             private ResourceClass<T> resource = null;
-            
+
             public boolean hasNext() {
                 if (resource == null) {
                     resource = getNextClass();
                 }
                 return resource != null;
             }
-            
+
             public ResourceClass<T> nextResourceClass() {
                 ResourceClass<T> element = resource;
                 resource = null;
                 return element;
             }
-            
+
             private ResourceClass<T> getNextClass() {
                 while (idx < getClassLoaders().size()) {
                     ClassLoader loader = getClassLoaders().get(idx++);
@@ -88,10 +88,10 @@ public class DiscoverClasses<T>
                     if (url != null) {
                         if (!history.contains(url)) {
                             history.add(url);
-    
+
                             if (log.isDebugEnabled())
                                 log.debug("getNextClass: next URL='" + url + "'");
-    
+
                             return new ResourceClass<T>(className, url, loader);
                         }
                         if (log.isDebugEnabled())



Mime
View raw message