< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/NOP.java
Print this page
*** 19,37 ****
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
-
/**
* NOP - Do nothing
*
! * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
*/
public class NOP extends Instruction {
public NOP() {
! super(com.sun.org.apache.bcel.internal.Constants.NOP, (short)1);
}
/**
* Call corresponding visitor method(s). The order is:
--- 19,37 ----
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
/**
* NOP - Do nothing
*
! * @version $Id: NOP.java 1747278 2016-06-07 17:28:43Z britter $
*/
public class NOP extends Instruction {
+
public NOP() {
! super(com.sun.org.apache.bcel.internal.Const.NOP, (short) 1);
}
/**
* Call corresponding visitor method(s). The order is:
*** 39,47 ****
* 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.visitNOP(this);
}
}
--- 39,48 ----
* 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.visitNOP(this);
}
}
< prev index next >