]> source.dussan.org Git - aspectj.git/commitdiff
chewed by formatter
authoraclement <aclement>
Thu, 28 Aug 2008 00:04:13 +0000 (00:04 +0000)
committeraclement <aclement>
Thu, 28 Aug 2008 00:04:13 +0000 (00:04 +0000)
bcel-builder/src/org/aspectj/apache/bcel/generic/InstructionShort.java

index 08f7854d0ab0b532fe53ae62f7e8d4bd2a7a9be2..dd8a72eb0e356c97599b8331328f6253adbf0577 100644 (file)
@@ -54,26 +54,27 @@ package org.aspectj.apache.bcel.generic;
  * <http://www.apache.org/>.
  */
 
-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;
+       }
 
 }