commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088120 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java
Date Sat, 02 Apr 2011 21:13:39 GMT
Author: simonetripodi
Date: Sat Apr  2 21:13:39 2011
New Revision: 1088120

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

Modified:
    commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java?rev=1088120&r1=1088119&r2=1088120&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/ant/ServiceDiscoveryTask.java
Sat Apr  2 21:13:39 2011
@@ -37,7 +37,7 @@ public class ServiceDiscoveryTask
     String name;
     int debug=0;
     String[] drivers = null;
-        
+
     public void setServiceName(String name ) {
         this.name=name;
     }
@@ -52,11 +52,11 @@ public class ServiceDiscoveryTask
 
     public void execute() throws Exception {
         System.out.printf("Discovering service '%s'...%n", name);
-        
+
         DiscoverResources disc = new DiscoverResources();
         disc.addClassLoader( JDKHooks.getJDKHooks().getThreadContextClassLoader() );
         disc.addClassLoader( this.getClass().getClassLoader() );
-        
+
         ResourceNameIterator iterator = disc.findResources(name);
 
         List<String> resources = new LinkedList<String>();
@@ -67,9 +67,9 @@ public class ServiceDiscoveryTask
                 System.out.printf("Found '%s'%n", resourceInfo);
             }
         }
-        
+
         drivers = new String[resources.size()];
         resources.toArray(drivers);
     }
-        
+
 }



Mime
View raw message