jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject cvs commit: jakarta-bcel/src/java/org/apache/bcel/generic InstructionComparator.java
Date Wed, 07 Aug 2002 18:05:52 GMT
mdahm       2002/08/07 11:05:51

  Modified:    src/java/org/apache/bcel/generic InstructionComparator.java
  Log:
  Fixed to getTypecode
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-bcel/src/java/org/apache/bcel/generic/InstructionComparator.java
  
  Index: InstructionComparator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-bcel/src/java/org/apache/bcel/generic/InstructionComparator.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- InstructionComparator.java	7 Aug 2002 18:01:32 -0000	1.1
  +++ InstructionComparator.java	7 Aug 2002 18:05:51 -0000	1.2
  @@ -95,7 +95,7 @@
   	      return ((IndexedInstruction)i1).getIndex() == 
   		((IndexedInstruction)i2).getIndex();
   	    } else if(i1 instanceof NEWARRAY) {
  -	      return ((NEWARRAY)i1).type == ((NEWARRAY)i2).type;
  +	      return ((NEWARRAY)i1).getTypecode() == ((NEWARRAY)i2).getTypecode();
   	    }
   	  }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:bcel-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-dev-help@jakarta.apache.org>


Mime
View raw message