You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/04/05 22:37:59 UTC

svn commit: r1089213 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/resource/DiscoverResources.java

Author: simonetripodi
Date: Tue Apr  5 20:37:58 2011
New Revision: 1089213

URL: http://svn.apache.org/viewvc?rev=1089213&view=rev
Log:
minor code format

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=1089213&r1=1089212&r2=1089213&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 Tue Apr  5 20:37:58 2011
@@ -26,15 +26,11 @@ import org.apache.commons.discovery.Reso
 import org.apache.commons.discovery.jdk.JDKHooks;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-
-
 /**
  * 
  */
-public class DiscoverResources
-    extends ResourceDiscoverImpl
-    implements ResourceDiscover
-{
+public class DiscoverResources extends ResourceDiscoverImpl implements ResourceDiscover {
+
     private static Log log = LogFactory.getLog(DiscoverResources.class);
 
     /**
@@ -70,9 +66,13 @@ public class DiscoverResources
         }
 
         return new ResourceIterator() {
+
             private int idx = 0;
+
             private ClassLoader loader = null;
+
             private Enumeration<URL> resources = null;
+
             private Resource resource = null;
 
             public boolean hasNext() {
@@ -129,4 +129,5 @@ public class DiscoverResources
             }
         };
     }
+
 }