[slf4j-dev] svn commit: r1171 - slf4j/trunk/slf4j-api/src/main/java/org/slf4j

ceki at slf4j.org ceki at slf4j.org
Thu Oct 2 23:15:06 CEST 2008


Author: ceki
Date: Thu Oct  2 23:15:06 2008
New Revision: 1171

Modified:
   slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java

Log:
- keep tests quiet
- fixed bug in version check code

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/LoggerFactory.java	Thu Oct  2 23:15:06 2008
@@ -61,7 +61,7 @@
   static {
     try { 
       String actualVer = StaticLoggerBinder.VERSION;
-      if(EXPECTED_VERSION.equals(actualVer)) {
+      if(!EXPECTED_VERSION.equals(actualVer)) {
         Util.reportFailure("Actual version "+actualVer+" differs from expected version "+EXPECTED_VERSION);
         Util.reportFailure("See "+VERSION_MISMATCH+" for further details.");
       }



More information about the slf4j-dev mailing list