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

Commit ed869f03 authored by Azhara Assanova's avatar Azhara Assanova Committed by Android (Google) Code Review
Browse files

Merge "Fix UnknownAuthority equals and hashCode" into main

parents d25fe2e5 57c3836d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -74,14 +74,14 @@ public final class UnknownAuthority extends Authority {
    @Override
    public boolean equals(@Nullable Object o) {
        if (this == o) return true;
        if (o != null && getClass() == o.getClass()) return false;
        if (o == null || getClass() != o.getClass()) return false;
        UnknownAuthority other = (UnknownAuthority) o;
        return Objects.equals(mName, other.mName);
    }

    @Override
    public int hashCode() {
        return mName.hashCode();
        return Objects.hashCode(mName);
    }

    @Override