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

Commit 0efa024b authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Errorprone: InconsistentHashCode" into main

parents 495a9e91 22cddedc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -341,6 +341,7 @@ android_app {
            "-Xep:FallThrough:ERROR",
            "-Xep:Finalize:ERROR",
            "-Xep:HidingField:ERROR",
            "-Xep:InconsistentHashCode:ERROR",
            "-Xep:InlineMeInliner:ERROR",
            "-Xep:InvalidBlockTag:ERROR",
            "-Xep:InvalidParam:ERROR",
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@ public class Metadata implements Cloneable {
    @Override
    public int hashCode() {
        // Do not hash the Image as it does not implement hashCode
        return Objects.hash(mediaId, title, artist, album, trackNum, numTracks, genre, duration);
        return Objects.hash(title, artist, album, trackNum, numTracks, genre, duration);
    }

    @Override