aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r1356296 - /aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java
Date Mon, 02 Jul 2012 15:21:26 GMT
Author: davidb
Date: Mon Jul  2 15:21:25 2012
New Revision: 1356296

URL: http://svn.apache.org/viewvc?rev=1356296&view=rev
Log:
[SPI Fly] Remote some debug printlns out of the weaver code.

Modified:
    aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java

Modified: aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java
URL: http://svn.apache.org/viewvc/aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java?rev=1356296&r1=1356295&r2=1356296&view=diff
==============================================================================
--- aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java
(original)
+++ aries/trunk/spi-fly/spi-fly-weaver/src/main/java/org/apache/aries/spifly/weaver/TCCLSetterVisitor.java
Mon Jul  2 15:21:25 2012
@@ -68,8 +68,6 @@ public class TCCLSetterVisitor extends C
     @Override
     public MethodVisitor visitMethod(int access, String name, String desc,
             String signature, String[] exceptions) {
-        System.out.println("@@@ " + access + ": " + name + "#" + desc + "#" + signature +
"~" + Arrays.toString(exceptions));
-
         MethodVisitor mv = super.visitMethod(access, name, desc, signature, exceptions);
         return new TCCLSetterMethodVisitor(mv, access, name, desc);
     }
@@ -77,12 +75,9 @@ public class TCCLSetterVisitor extends C
     @Override
     public void visitEnd() {
         if (!woven) {
-            System.out.println("+++ not woven: " + targetClass);
             // if this class wasn't woven, then don't add the synthesized method either.
             super.visitEnd();
             return;
-        } else {
-            System.out.println("+++ woven: " + targetClass);
         }
 
         // Add generated static method
@@ -170,12 +165,8 @@ public class TCCLSetterVisitor extends C
          */
         @Override
         public void visitMethodInsn(int opcode, String owner, String name, String desc) {
-            System.out.println("### " + opcode + ": " + owner + "#" + name + "#" + desc);
-
             WeavingData wd = findWeavingData(owner, name, desc);
             if (opcode == INVOKESTATIC && wd != null) {
-                System.out.println("+++ Gotcha!");
-
                 additionalImportRequired = true;
                 woven = true;
 



Mime
View raw message