Author: markt
Date: Sat Nov  9 21:35:43 2013
New Revision: 1540397

URL: http://svn.apache.org/r1540397
Log:
Use local variables

Modified:
    
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java

Modified: 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java?rev=1540397&r1=1540396&r2=1540397&view=diff
==============================================================================
--- 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java 
(original)
+++ 
tomcat/trunk/java/org/apache/tomcat/util/bcel/classfile/StackMapTableEntry.java 
Sat Nov  9 21:35:43 2013
@@ -36,20 +36,15 @@ public final class StackMapTableEntry im
 
     private static final long serialVersionUID = 1L;
 
-    private int frame_type;
-    private int number_of_locals;
-    private int number_of_stack_items;
-
-
     /**
      * Construct object from file stream.
      * @param file Input stream
      * @throws IOException
      */
     StackMapTableEntry(DataInputStream file) throws IOException {
-        this.frame_type = file.read();
-        this.number_of_locals = -1;
-        this.number_of_stack_items = -1;
+        int frame_type = file.read();
+        int number_of_locals = -1;
+        int number_of_stack_items = -1;
 
         if (frame_type >= Constants.SAME_FRAME && frame_type <= 
Constants.SAME_FRAME_MAX) {
             // NO-OP



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to