8132216: [Findbugs] Annotation$Array_element_value may expose internal representation
Reviewed-by: mcimadamore
--- 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;