]> granicus.if.org Git - icu/commitdiff
ICU-8268 infinite recursive loop fixed
authorAbhinav Gupta <mail@abhinavg.net>
Tue, 27 Sep 2011 19:50:07 +0000 (19:50 +0000)
committerAbhinav Gupta <mail@abhinavg.net>
Tue, 27 Sep 2011 19:50:07 +0000 (19:50 +0000)
X-SVN-Rev: 30724

icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/TransliteratorInputMethod.java

index b0bf4b20d195d4ddfa7870909de0824feeb3b4b1..4655aed4198c3c67edef46773b0168382209d458 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *******************************************************************************
- * Copyright (C) 2004-2010, International Business Machines Corporation and    *
+ * Copyright (C) 2004-2011, International Business Machines Corporation and    *
  * others. All Rights Reserved.                                                *
  *******************************************************************************
  */
@@ -713,6 +713,6 @@ class LabelComparator implements Comparator {
     }
 
     public boolean equals(Object obj1) {
-        return this.equals(obj1);
+        return compare(this, obj1) == 0;
     }
 }