From: aclement Date: Thu, 28 Aug 2008 00:04:13 +0000 (+0000) Subject: chewed by formatter X-Git-Tag: V1_6_2~180 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=15d72b921aa6b3119230e3d3fdf51cff88d69ffb;p=aspectj.git chewed by formatter --- diff --git a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionShort.java b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionShort.java index 08f7854d0..dd8a72eb0 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionShort.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionShort.java @@ -54,26 +54,27 @@ package org.aspectj.apache.bcel.generic; * . */ -import java.io.*; +import java.io.DataOutputStream; +import java.io.IOException; -/** +/** * Instruction that needs one short */ public class InstructionShort extends Instruction { - private short s; + private final short s; - public InstructionShort(short opcode, short s) { - this.opcode = opcode; - this.s = s; - } - - public void dump(DataOutputStream out) throws IOException { - out.writeByte(opcode); - out.writeShort(s); - } + public InstructionShort(short opcode, short s) { + super(opcode); + this.s = s; + } - public String toString(boolean verbose) { - return super.toString(verbose) + " " + s; - } + public void dump(DataOutputStream out) throws IOException { + out.writeByte(opcode); + out.writeShort(s); + } + + public String toString(boolean verbose) { + return super.toString(verbose) + " " + s; + } }