jakarta-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1081191 - /jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java
Date Sun, 13 Mar 2011 18:45:25 GMT
Author: dbrosius
Date: Sun Mar 13 18:45:25 2011
New Revision: 1081191

URL: http://svn.apache.org/viewvc?rev=1081191&view=rev
Log:
Bug 48321 - org.apache.bcel.generic.Instruction.equals(Object) does not follow Object.equals(Object)
rules

Modified:
    jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java

Modified: jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java
URL: http://svn.apache.org/viewvc/jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java?rev=1081191&r1=1081190&r2=1081191&view=diff
==============================================================================
--- jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java (original)
+++ jakarta/bcel/trunk/src/main/java/org/apache/bcel/generic/Instruction.java Sun Mar 13 18:45:25
2011
@@ -527,6 +527,7 @@ public abstract class Instruction implem
      * equality of instructions.
      *
      * @return currently used comparator for equals()
+     * @deprecated use the built in comparator, or wrap this class in another object that
implements these methods
      */
     public static InstructionComparator getComparator() {
         return cmp;
@@ -534,6 +535,7 @@ public abstract class Instruction implem
 
 
     /** Set comparator to be used for equals().
+      * @deprecated use the built in comparator, or wrap this class in another object that
implements these methods
      */
     public static void setComparator( InstructionComparator c ) {
         cmp = c;



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org


Mime
View raw message