commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tcu...@apache.org
Subject svn commit: r515341 - in /jakarta/commons/sandbox/jci/trunk/core/src: main/java/org/apache/commons/jci/listeners/ReloadingListener.java test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java
Date Tue, 06 Mar 2007 22:59:28 GMT
Author: tcurdt
Date: Tue Mar  6 14:59:27 2007
New Revision: 515341

URL: http://svn.apache.org/viewvc?view=rev&rev=515341
Log:
argh! wrong separator


Modified:
    jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/listeners/ReloadingListener.java
    jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java

Modified: jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/listeners/ReloadingListener.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/listeners/ReloadingListener.java?view=diff&rev=515341&r1=515340&r2=515341
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/listeners/ReloadingListener.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/core/src/main/java/org/apache/commons/jci/listeners/ReloadingListener.java
Tue Mar  6 14:59:27 2007
@@ -63,11 +63,11 @@
     }
     
     public String getResourceNameFromRelativeFileName( final String pRelativeFileName ) {
-    	if ('/' == File.pathSeparatorChar) {
+    	if ('/' == File.separatorChar) {
     		return pRelativeFileName;
     	}
     	
-    	return pRelativeFileName.replace(File.pathSeparatorChar, '/');
+    	return pRelativeFileName.replace(File.separatorChar, '/');
     }
     
     public boolean isReloadRequired( final FilesystemAlterationObserver pObserver ) {

Modified: jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java
URL: http://svn.apache.org/viewvc/jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java?view=diff&rev=515341&r1=515340&r2=515341
==============================================================================
--- jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java
(original)
+++ jakarta/commons/sandbox/jci/trunk/core/src/test/java/org/apache/commons/jci/ReloadingClassLoaderTestCase.java
Tue Mar  6 14:59:27 2007
@@ -142,7 +142,6 @@
             classloader.loadClass("bla");
             fail();
         } catch(final ClassNotFoundException e) {
-            log.info(e.getMessage());
         }
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message