cvs commit: jakarta-bcel/src/java/org/apache/bcel/util AttributeHTML.java BCELifier.java CodeHTML.java

[email protected]
Newsgroups gmane.comp.jakarta.bcel.devel
Message-ID <[email protected]>
mdahm       2002/06/04 04:16:21

  Modified:    src/java/org/apache/bcel/util AttributeHTML.java
                        BCELifier.java CodeHTML.java
  Log:
  removed redundant vars
  
  Revision  Changes    Path
  1.2       +1 -2      jakarta-bcel/src/java/org/apache/bcel/util/AttributeHTML.java
  
  Index: AttributeHTML.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/AttributeHTML.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AttributeHTML.java	29 Oct 2001 20:00:28 -0000	1.1
  +++ AttributeHTML.java	4 Jun 2002 11:16:21 -0000	1.2
  @@ -60,7 +60,7 @@
   /**
    * Convert found attributes into HTML file.
    *
  - * @version $Id: AttributeHTML.java,v 1.1 2001/10/29 20:00:28 jvanzyl Exp $
  + * @version $Id: AttributeHTML.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $
    * @author  <A HREF="mailto:[email protected]">M. Dahm</A>
    * 
    */
  @@ -118,7 +118,6 @@
       switch(tag) {
       case ATTR_CODE:
         Code        c          = (Code)attribute;
  -      Attribute[] attributes = c.getAttributes();
   
         // Some directly printable values
         file.print("<UL><LI>Maximum stack size = " + c.getMaxStack() + 
  
  
  
  1.2       +1 -2      jakarta-bcel/src/java/org/apache/bcel/util/BCELifier.java
  
  Index: BCELifier.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/BCELifier.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- BCELifier.java	12 Mar 2002 17:52:00 -0000	1.1
  +++ BCELifier.java	4 Jun 2002 11:16:21 -0000	1.2
  @@ -66,13 +66,12 @@
    * are done with BCEL. It does not cover all features of BCEL,
    * but tries to mimic hand-written code as close as possible.
    *
  - * @version $Id: BCELifier.java,v 1.1 2002/03/12 17:52:00 mdahm Exp $
  + * @version $Id: BCELifier.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $
    * @author <A HREF="mailto:[email protected]">M. Dahm</A> 
    */
   public class BCELifier extends org.apache.bcel.classfile.EmptyVisitor {
     private JavaClass         _clazz;
     private PrintWriter       _out;
  -  private DescendingVisitor _visitor;
     private ConstantPoolGen   _cp;
   
     /** @param clazz Java class to "decompile"
  
  
  
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/util/CodeHTML.java
  
  Index: CodeHTML.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/util/CodeHTML.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CodeHTML.java	29 Oct 2001 20:00:30 -0000	1.1
  +++ CodeHTML.java	4 Jun 2002 11:16:21 -0000	1.2
  @@ -61,7 +61,7 @@
   /**
    * Convert code into HTML file.
    *
  - * @version $Id: CodeHTML.java,v 1.1 2001/10/29 20:00:30 jvanzyl Exp $
  + * @version $Id: CodeHTML.java,v 1.2 2002/06/04 11:16:21 mdahm Exp $
    * @author  <A HREF="mailto:[email protected]">M. Dahm</A>
    * 
    */
  @@ -105,7 +105,7 @@
     {
       short        opcode = (short)bytes.readUnsignedByte();
       StringBuffer buf;
  -    String       name, sig, signature;
  +    String       name, signature;
       int          default_offset=0, low, high;
       int          index, class_index, vindex, constant;
       int[]        jump_table;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.