--- old/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/PMGClass.java 2020-01-16 18:01:02.975873341 +0000 +++ new/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/classfile/PMGClass.java 2020-01-16 18:01:02.480861182 +0000 @@ -31,7 +31,6 @@ * This class is derived from Attribute and represents a reference * to a PMG attribute. * - * @version $Id$ * @see Attribute */ public final class PMGClass extends Attribute { @@ -88,7 +87,7 @@ */ @Override public void accept( final Visitor v ) { - System.err.println("Visiting non-standard PMGClass object"); + println("Visiting non-standard PMGClass object"); } @@ -99,7 +98,7 @@ * @throws IOException */ @Override - public final void dump( final DataOutputStream file ) throws IOException { + public void dump( final DataOutputStream file ) throws IOException { super.dump(file); file.writeShort(pmg_index); file.writeShort(pmg_class_index); @@ -109,7 +108,7 @@ /** * @return Index in constant pool of source file name. */ - public final int getPMGClassIndex() { + public int getPMGClassIndex() { return pmg_class_index; } @@ -117,7 +116,7 @@ /** * @param pmg_class_index */ - public final void setPMGClassIndex( final int pmg_class_index ) { + public void setPMGClassIndex( final int pmg_class_index ) { this.pmg_class_index = pmg_class_index; } @@ -125,7 +124,7 @@ /** * @return Index in constant pool of source file name. */ - public final int getPMGIndex() { + public int getPMGIndex() { return pmg_index; } @@ -133,7 +132,7 @@ /** * @param pmg_index */ - public final void setPMGIndex( final int pmg_index ) { + public void setPMGIndex( final int pmg_index ) { this.pmg_index = pmg_index; } @@ -141,7 +140,7 @@ /** * @return PMG name. */ - public final String getPMGName() { + public String getPMGName() { final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_index, Const.CONSTANT_Utf8); return c.getBytes(); @@ -151,7 +150,7 @@ /** * @return PMG class name. */ - public final String getPMGClassName() { + public String getPMGClassName() { final ConstantUtf8 c = (ConstantUtf8) super.getConstantPool().getConstant(pmg_class_index, Const.CONSTANT_Utf8); return c.getBytes(); @@ -162,7 +161,7 @@ * @return String representation */ @Override - public final String toString() { + public String toString() { return "PMGClass(" + getPMGName() + ", " + getPMGClassName() + ")"; }