From 15d72b921aa6b3119230e3d3fdf51cff88d69ffb Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 28 Aug 2008 00:04:13 +0000 Subject: [PATCH] chewed by formatter --- .../apache/bcel/generic/InstructionShort.java | 31 ++++++++++--------- 1 file changed, 16 insertions(+), 15 deletions(-) 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; + } } -- 2.39.5