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

Commit 610b2c77 authored by Andreas Gampe's avatar Andreas Gampe
Browse files

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

                return 0;
            }

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

        Collections.sort(links, c);