commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135420 - in /commons/sandbox/meiyo/trunk/src: main/java/org/apache/commons/meiyo/classpath/ test/java/org/apache/commons/meiyo/classpath/
Date Tue, 14 Jun 2011 09:05:27 GMT
Author: simonetripodi
Date: Tue Jun 14 09:05:27 2011
New Revision: 1135420

URL: http://svn.apache.org/viewvc?rev=1135420&view=rev
Log:
renamed method to set context ClassLoader more intuitive for users

Modified:
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
    commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassPathScanner.java
    commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classpath/ClassPathTestCase.java

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java?rev=1135420&r1=1135419&r2=1135420&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassLoaderBuilder.java
Tue Jun 14 09:05:27 2011
@@ -31,7 +31,7 @@ public interface ClassLoaderBuilder
      *
      * @return The builder to set error handlers
      */
-    ErrorHandlerBuilder usingDefaultClassLoader();
+    ErrorHandlerBuilder usingContextClassLoader();
 
     /**
      * Sets the input ClassLoader to resolve/load classes.

Modified: commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassPathScanner.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassPathScanner.java?rev=1135420&r1=1135419&r2=1135420&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassPathScanner.java
(original)
+++ commons/sandbox/meiyo/trunk/src/main/java/org/apache/commons/meiyo/classpath/ClassPathScanner.java
Tue Jun 14 09:05:27 2011
@@ -97,7 +97,7 @@ public final class ClassPathScanner
                 return new ClassLoaderBuilder()
                 {
 
-                    public ErrorHandlerBuilder usingDefaultClassLoader()
+                    public ErrorHandlerBuilder usingContextClassLoader()
                     {
                         return this.usingClassLoader( Thread.currentThread().getContextClassLoader()
);
                     }

Modified: commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classpath/ClassPathTestCase.java
URL: http://svn.apache.org/viewvc/commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classpath/ClassPathTestCase.java?rev=1135420&r1=1135419&r2=1135420&view=diff
==============================================================================
--- commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classpath/ClassPathTestCase.java
(original)
+++ commons/sandbox/meiyo/trunk/src/test/java/org/apache/commons/meiyo/classpath/ClassPathTestCase.java
Tue Jun 14 09:05:27 2011
@@ -85,7 +85,7 @@ public final class ClassPathTestCase
                 } );
             }
 
-        } ).usingDefaultClassLoader().scan();
+        } ).usingContextClassLoader().scan();
 
         assert 0 < classes.size();
     }



Mime
View raw message