8132216: [Findbugs] Annotation$Array_element_value may expose internal representation
authorsadayapalam
Thu, 02 Jun 2016 15:25:20 +0530
changeset 38831 f1ebdf22497b
parent 38830 080df8157078
child 38832 759100b68651
8132216: [Findbugs] Annotation$Array_element_value may expose internal representation Reviewed-by: mcimadamore
langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java
--- a/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java	Thu Jun 02 15:22:34 2016 +0530
+++ b/langtools/src/jdk.jdeps/share/classes/com/sun/tools/classfile/Annotation.java	Thu Jun 02 15:25:20 2016 +0530
@@ -232,12 +232,6 @@
                 values[i] = element_value.read(cr);
         }
 
-        public Array_element_value(element_value[] values, int tag) {
-            super(tag);
-            this.num_values = values.length;
-            this.values = values;
-        }
-
         @Override
         public int length() {
             int n = 2;