Frameworks/base: Fix trivial equals implementation

The comparator's equal implementation doesn't satisfy the constraints
of an equals method, namely being reflexive. Use the standard Object
implementation instead.

Bug: 19797138
Change-Id: I74f888e99533e1945aab7ab10fe8ee3ded6388f4
This commit is contained in:
Andreas Gampe
2015-03-15 15:21:25 -07:00
parent 30fcd2aa8a
commit 610b2c778c

View File

@@ -522,10 +522,6 @@ public class Linkify {
return 0;
}
public final boolean equals(Object o) {
return false;
}
};
Collections.sort(links, c);