diff options
author | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-02-21 15:19:00 +0100 |
---|---|---|
committer | Jozef BABJAK <jozef.babjak@gmail.com> | 2011-02-21 15:19:00 +0100 |
commit | b62353ad1d1f540dee270be0c0d383ac108a290b (patch) | |
tree | 6517350313750c621abc924d8554c713ff5c244a /core/java/android/text/util | |
parent | 7118bdec523568842e70555e353951df9f2596fd (diff) | |
download | frameworks_base-b62353ad1d1f540dee270be0c0d383ac108a290b.zip frameworks_base-b62353ad1d1f540dee270be0c0d383ac108a290b.tar.gz frameworks_base-b62353ad1d1f540dee270be0c0d383ac108a290b.tar.bz2 |
Removing wrong equals method in comparator.
This implementation of equals method has been likely created by
template in an IDE. It is useless, possibly leading to poor performance
and completely violating the contract of equals method as defined in
Object base class.
Change-Id: I5e7fd759b7bd9370b44d9374b57390c4e9feba02
Diffstat (limited to 'core/java/android/text/util')
-rw-r--r-- | core/java/android/text/util/Linkify.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/text/util/Linkify.java b/core/java/android/text/util/Linkify.java index 9860588..e2293e4 100644 --- a/core/java/android/text/util/Linkify.java +++ b/core/java/android/text/util/Linkify.java @@ -498,10 +498,6 @@ public class Linkify { return 0; } - - public final boolean equals(Object o) { - return false; - } }; Collections.sort(links, c); |