Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b62353ad authored by Jozef BABJAK's avatar Jozef BABJAK
Browse files

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
parent 7118bdec
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -498,10 +498,6 @@ public class Linkify {

                return 0;
            }

            public final boolean equals(Object o) {
                return false;
            }
        };

        Collections.sort(links, c);