commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r1590182 - in /commons/proper/bcel/trunk/src: main/java/org/apache/bcel/classfile/ test/java/org/apache/bcel/
Date Fri, 25 Apr 2014 22:45:58 GMT
Author: ebourg
Date: Fri Apr 25 22:45:58 2014
New Revision: 1590182

URL: http://svn.apache.org/r1590182
Log:
Enabled calls to visitAnnotationDefault, visitAnnotationEntry and visitParameterAnnotation

Modified:
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
    commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ParameterAnnotations.java
    commons/proper/bcel/trunk/src/test/java/org/apache/bcel/CounterVisitorTestCase.java

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java?rev=1590182&r1=1590181&r2=1590182&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationDefault.java
Fri Apr 25 22:45:58 2014
@@ -81,7 +81,7 @@ public class AnnotationDefault extends A
         @Override
         public void accept(Visitor v)
         {
-                // v.visitAnnotationDefault(this);
+                v.visitAnnotationDefault(this);
         }
 
         /**

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java?rev=1590182&r1=1590181&r2=1590182&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/AnnotationEntry.java
Fri Apr 25 22:45:58 2014
@@ -89,7 +89,7 @@ public class AnnotationEntry implements 
      * @param v Visitor object
      */
     public void accept(Visitor v) {
-        // v.visitAnnotationEntry(this);
+        v.visitAnnotationEntry(this);
     }
 
     /**

Modified: commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ParameterAnnotations.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ParameterAnnotations.java?rev=1590182&r1=1590181&r2=1590182&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ParameterAnnotations.java
(original)
+++ commons/proper/bcel/trunk/src/main/java/org/apache/bcel/classfile/ParameterAnnotations.java
Fri Apr 25 22:45:58 2014
@@ -77,7 +77,7 @@ public abstract class ParameterAnnotatio
      */
     @Override
     public void accept( Visitor v ) {
-        //	    v.visitParameterAnnotation(this);
+        v.visitParameterAnnotation(this);
     }
 
 

Modified: commons/proper/bcel/trunk/src/test/java/org/apache/bcel/CounterVisitorTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/test/java/org/apache/bcel/CounterVisitorTestCase.java?rev=1590182&r1=1590181&r2=1590182&view=diff
==============================================================================
--- commons/proper/bcel/trunk/src/test/java/org/apache/bcel/CounterVisitorTestCase.java (original)
+++ commons/proper/bcel/trunk/src/test/java/org/apache/bcel/CounterVisitorTestCase.java Fri
Apr 25 22:45:58 2014
@@ -40,7 +40,7 @@ public class CounterVisitorTestCase exte
 
 	public void testAnnotationEntryCount()
 	{
-		assertEquals("annotationEntryCount", 0, getVisitor().annotationEntryCount);
+		assertEquals("annotationEntryCount", 2, getVisitor().annotationEntryCount);
 	}
 
 	public void testCodeCount()



Mime
View raw message