Author: sebb
Date: Tue Aug 18 10:50:01 2015
New Revision: 1696391

URL: http://svn.apache.org/r1696391
Log:
No need for new field to be protected as there is a getter

Modified:
    
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/FieldOrMethod.java

Modified: 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/FieldOrMethod.java
URL: 
http://svn.apache.org/viewvc/commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/FieldOrMethod.java?rev=1696391&r1=1696390&r2=1696391&view=diff
==============================================================================
--- 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/FieldOrMethod.java
 (original)
+++ 
commons/proper/bcel/trunk/src/main/java/org/apache/commons/bcel6/classfile/FieldOrMethod.java
 Tue Aug 18 10:50:01 2015
@@ -36,7 +36,8 @@ public abstract class FieldOrMethod exte
     protected int name_index; // Points to field name in constant pool 
     protected int signature_index; // Points to encoded signature
     protected Attribute[] attributes; // Collection of attributes
-    protected AnnotationEntry[] annotationEntries; // annotations defined on 
the field or method 
+    // @since 6.0
+    private AnnotationEntry[] annotationEntries; // annotations defined on the 
field or method 
     protected ConstantPool constant_pool;
 
     private String signatureAttributeString = null;
@@ -213,6 +214,7 @@ public abstract class FieldOrMethod exte
 
     /**
      * @return Annotations on the field or method
+     * @since 6.0
      */
     public AnnotationEntry[] getAnnotationEntries() {
         if (annotationEntries == null) {
@@ -226,6 +228,7 @@ public abstract class FieldOrMethod exte
      * Hunts for a signature attribute on the member and returns its contents. 
 So where the 'regular' signature
      * may be (Ljava/util/Vector;)V the signature attribute may in fact say 
'Ljava/lang/Vector<Ljava/lang/String>;'
      * Coded for performance - searches for the attribute only when requested 
- only searches for it once.
+     * @since 6.0
      */
     public final String getGenericSignature()
     {


Reply via email to