--- old/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/DUP.java 2017-08-08 16:05:07.601118323 -0700 +++ new/src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/DUP.java 2017-08-08 16:05:07.481112315 -0700 @@ -21,31 +21,32 @@ package com.sun.org.apache.bcel.internal.generic; - /** * DUP - Duplicate top operand stack word *
Stack: ..., word -> ..., word, word
* - * @author M. Dahm + * @version $Id: DUP.java 1747278 2016-06-07 17:28:43Z britter $ */ public class DUP extends StackInstruction implements PushInstruction { - public DUP() { - super(com.sun.org.apache.bcel.internal.Constants.DUP); - } + + public DUP() { + super(com.sun.org.apache.bcel.internal.Const.DUP); + } - /** - * Call corresponding visitor method(s). The order is: - * Call visitor methods of implemented interfaces first, then - * call methods according to the class hierarchy in descending order, - * i.e., the most specific visitXXX() call comes last. - * - * @param v Visitor object - */ - public void accept(Visitor v) { - v.visitStackProducer(this); - v.visitPushInstruction(this); - v.visitStackInstruction(this); - v.visitDUP(this); - } + /** + * Call corresponding visitor method(s). The order is: + * Call visitor methods of implemented interfaces first, then + * call methods according to the class hierarchy in descending order, + * i.e., the most specific visitXXX() call comes last. + * + * @param v Visitor object + */ + @Override + public void accept( final Visitor v ) { + v.visitStackProducer(this); + v.visitPushInstruction(this); + v.visitStackInstruction(this); + v.visitDUP(this); + } }