commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1088143 - /commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DefaultClassHolder.java
Date Sat, 02 Apr 2011 21:44:38 GMT
Author: simonetripodi
Date: Sat Apr  2 21:44:37 2011
New Revision: 1088143

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

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

Modified: commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DefaultClassHolder.java
URL: http://svn.apache.org/viewvc/commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DefaultClassHolder.java?rev=1088143&r1=1088142&r2=1088143&view=diff
==============================================================================
--- commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DefaultClassHolder.java
(original)
+++ commons/proper/discovery/trunk/src/java/org/apache/commons/discovery/tools/DefaultClassHolder.java
Sat Apr  2 21:44:37 2011
@@ -33,12 +33,12 @@ import org.apache.commons.discovery.reso
 public class DefaultClassHolder<T> {
     private Class<? extends T>        defaultClass;
     private final String defaultName;
-    
+
     public <S extends T> DefaultClassHolder(Class<S> defaultClass) {
         this.defaultClass = defaultClass;
         this.defaultName = defaultClass.getName();
     }
-    
+
     public DefaultClassHolder(String defaultName) {
         this.defaultClass = null;
         this.defaultName = defaultName;
@@ -47,7 +47,7 @@ public class DefaultClassHolder<T> {
     /**
      * @param spi non-null SPI
      * @param loaders Used only if class needs to be loaded.
-     * 
+     *
      * @return Default Class.  Load the class if necessary,
      *         and verify that it implements the SPI.
      *         (this forces the check, no way out..).
@@ -65,7 +65,7 @@ public class DefaultClassHolder<T> {
                 }
             }
         }
-        
+
         if (defaultClass != null) {
             spi.verifyAncestory(defaultClass);
         }



Mime
View raw message