mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 23:25:24 +02:00
AbstractSet.java (equals): Re-installed original code.
2000-10-23 Alexandre Petit-Bianco <apbianco@cygnus.com> * java/util/AbstractSet.java (equals): Re-installed original code. (http://sources.redhat.com/ml/java-patches/2000-q4/msg00054.html) From-SVN: r37021
This commit is contained in:
committed by
Alexandre Petit-Bianco
parent
261f21e70d
commit
eade41de2a
@@ -52,10 +52,7 @@ public abstract class AbstractSet extends AbstractCollection implements Set {
|
||||
if (o == this) {
|
||||
return true;
|
||||
} else if (o instanceof Set && ((Set)o).size() == size()) {
|
||||
throw new Error ("FIXME: compiler error - AbstractSet.equals");
|
||||
/* FIXME: this is the correct implementation, but a compiler
|
||||
error prevents us from building it.
|
||||
return containsAll((Collection)o); */
|
||||
return containsAll((Collection)o);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user