[slf4j-dev] svn commit: r1224 - slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/instrumentation

ravn at slf4j.org ravn at slf4j.org
Mon Nov 10 01:40:46 CET 2008


Author: ravn
Date: Mon Nov 10 01:40:45 2008
New Revision: 1224

Modified:
   slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/instrumentation/JavassistHelper.java

Log:
message regarding "this" is too noisy to go in a release and has been commented out

Modified: slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/instrumentation/JavassistHelper.java
==============================================================================
--- slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/instrumentation/JavassistHelper.java	(original)
+++ slf4j/trunk/slf4j-ext/src/main/java/org/slf4j/instrumentation/JavassistHelper.java	Mon Nov 10 01:40:45 2008
@@ -148,11 +148,11 @@
       // System.err.println("Instance");
     }
     String variableName = locals.variableName(j);
-    if (variableName.equals("this")) {
-      System.err.println("'this' returned as a parameter name for "
-          + method.getName() + " index " + j
-          + ", names are probably shifted. Please submit source for class in slf4j bugreport");
-    }
+//    if (variableName.equals("this")) {
+//      System.err.println("'this' returned as a parameter name for "
+//          + method.getName() + " index " + j
+//          + ", names are probably shifted. Please submit source for class in slf4j bugreport");
+//    }
     return variableName;
   }
 }



More information about the slf4j-dev mailing list