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
This commit is contained in:
@@ -498,10 +498,6 @@ public class Linkify {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
public final boolean equals(Object o) {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
Collections.sort(links, c);
|
||||
|
||||
Reference in New Issue
Block a user