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

ceki at slf4j.org ceki at slf4j.org
Wed Jun 10 21:19:12 CEST 2009


Author: ceki
Date: Wed Jun 10 21:19:12 2009
New Revision: 1358

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

Log:
The Arrays.toString(Object[]) was added in JDK 1.5.

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	Wed Jun 10 21:19:12 2009
@@ -168,7 +168,7 @@
       if (!match) {
         Util.reportFailure("The requested version " + requested
             + " by your slf4j binding is not compatible with "
-            + Arrays.toString(API_COMPATIBILITY_LIST));
+            + Arrays.asList(API_COMPATIBILITY_LIST).toString());
         Util.reportFailure("See " + VERSION_MISMATCH + " for further details.");
       }
     } catch (java.lang.NoSuchFieldError nsfe) {



More information about the slf4j-dev mailing list