[slf4j-dev] svn commit: r1381 - slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl

ceki at slf4j.org ceki at slf4j.org
Wed Jul 29 11:45:11 CEST 2009


Author: ceki
Date: Wed Jul 29 11:45:10 2009
New Revision: 1381

Modified:
   slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/SerializationTest.java

Log:
- minor change in local variable name
- added additional isDebugEnable() method invocation in the verify() method

Modified: slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/SerializationTest.java
==============================================================================
--- slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/SerializationTest.java	(original)
+++ slf4j/trunk/jcl-over-slf4j/src/test/java/org/apache/commons/logging/impl/SerializationTest.java	Wed Jul 29 11:45:10 2009
@@ -37,9 +37,10 @@
     ByteArrayInputStream bis = new ByteArrayInputStream(baos.toByteArray());
     ois = new ObjectInputStream(bis);
 
-    Log readLog = (Log) ois.readObject();
+    Log resuscitatedLog = (Log) ois.readObject();
     // tests that the "private transient Logger logger" field is non-null
-    readLog.debug("");
+    resuscitatedLog.debug("");
+    resuscitatedLog.isDebugEnabled();
   }
 
   public void testSLF4JLog() throws Exception {



More information about the slf4j-dev mailing list