commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088152 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java
Date Sat, 02 Apr 2011 22:00:12 GMT
Author: simonetripodi
Date: Sat Apr  2 22:00:11 2011
New Revision: 1088152

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

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java?rev=1088152&r1=1088151&r2=1088152&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/Service.java
Sat Apr  2 22:00:11 2011
@@ -29,7 +29,7 @@ import org.apache.commons.discovery.reso
 /**
  * [this was ServiceDiscovery12... the 1.1 versus 1.2 issue
  * has been abstracted to org.apache.commons.discover.jdk.JDKHooks]
- * 
+ *
  * <p>Implement the JDK1.3 'Service Provider' specification.
  * ( http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html )
  * </p>
@@ -54,7 +54,7 @@ public class Service
      */
     protected Service() {
     }
-    
+
     /**
      * as described in
      * sun/jdk1.3.1/docs/guide/jar/jar.html#Service Provider,
@@ -66,7 +66,7 @@ public class Service
     public static <T, S extends T> Enumeration<S> providers(Class<T> spiClass)
{
         return providers(new SPInterface<T>(spiClass), null);
     }
-    
+
     /**
      * This version lets you specify constructor arguments..
      * 
@@ -82,23 +82,23 @@ public class Service
                                                  Service.class,
                                                  true);
         }
-        
+
         ResourceNameIterator servicesIter =
             (new DiscoverServiceNames(loaders)).findResourceNames(spi.getSPName());
 
         final ResourceClassIterator<T> services =
             (new DiscoverClasses<T>(loaders)).findResourceClasses(servicesIter);
-        
+
         return new Enumeration<S>() {
             private S object = null;
-            
+
             public boolean hasMoreElements() {
                 if (object == null) {
                     object = getNextClassInstance();
                 }
                 return object != null;
             }
-            
+
             public S nextElement() {
                 S obj = object;
                 object = null;



Mime
View raw message