[logback-dev] svn commit: r2346 - in logback/trunk/logback-core/src: main/java/ch/qos/logback/core/joran test/java/ch/qos/logback/core/rolling

noreply.ceki at qos.ch noreply.ceki at qos.ch
Tue Jul 14 18:37:24 CEST 2009


Author: ceki
Date: Tue Jul 14 18:37:23 2009
New Revision: 2346

Modified:
   logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java
   logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java

Log:
very minor changes

Modified: logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java
==============================================================================
--- logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java	(original)
+++ logback/trunk/logback-core/src/main/java/ch/qos/logback/core/joran/GenericConfigurator.java	Tue Jul 14 18:37:23 2009
@@ -59,7 +59,7 @@
   final public void doConfigure(File file) throws JoranException {
     FileInputStream fis = null;
     try {
-      informContextOfURLUsedForConfiguration(file.toURL());
+      informContextOfURLUsedForConfiguration(file.toURI().toURL());
       fis = new FileInputStream(file);
       doConfigure(fis);
     } catch (IOException ioe) {

Modified: logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java
==============================================================================
--- logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java	(original)
+++ logback/trunk/logback-core/src/test/java/ch/qos/logback/core/rolling/RollingFileAppenderTest.java	Tue Jul 14 18:37:23 2009
@@ -13,7 +13,6 @@
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertNull;
 import static org.junit.Assert.assertTrue;
-import static org.junit.Assert.fail;
 
 import org.junit.After;
 import org.junit.Before;


More information about the logback-dev mailing list