This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new f432d7f  Make some annotation methods public (#45)
f432d7f is described below

commit f432d7f6358ad90c18c6b24d0ae1403c9c33a384
Author: Mark Roberts <[email protected]>
AuthorDate: Tue Jun 2 11:13:26 2020 -0700

    Make some annotation methods public (#45)
---
 src/main/java/org/apache/bcel/generic/FieldGenOrMethodGen.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/org/apache/bcel/generic/FieldGenOrMethodGen.java 
b/src/main/java/org/apache/bcel/generic/FieldGenOrMethodGen.java
index b4d3472..3c1cf27 100644
--- a/src/main/java/org/apache/bcel/generic/FieldGenOrMethodGen.java
+++ b/src/main/java/org/apache/bcel/generic/FieldGenOrMethodGen.java
@@ -120,7 +120,7 @@ public abstract class FieldGenOrMethodGen extends 
AccessFlags implements NamedAn
     /**
      * @since 6.0
      */
-    protected void addAnnotationEntry(final AnnotationEntryGen ag) // TODO 
could this be package protected?
+    public void addAnnotationEntry(final AnnotationEntryGen ag)
     {
         annotation_vec.add(ag);
     }
@@ -136,7 +136,7 @@ public abstract class FieldGenOrMethodGen extends 
AccessFlags implements NamedAn
     /**
      * @since 6.0
      */
-    protected void removeAnnotationEntry(final AnnotationEntryGen ag) // TODO 
could this be package protected?
+    public void removeAnnotationEntry(final AnnotationEntryGen ag)
     {
         annotation_vec.remove(ag);
     }
@@ -152,7 +152,7 @@ public abstract class FieldGenOrMethodGen extends 
AccessFlags implements NamedAn
     /**
      * @since 6.0
      */
-    protected void removeAnnotationEntries() // TODO could this be package 
protected?
+    public void removeAnnotationEntries()
     {
         annotation_vec.clear();
     }

Reply via email to