diff --git a/airsonic-main/src/main/java/org/airsonic/player/domain/MusicIndex.java b/airsonic-main/src/main/java/org/airsonic/player/domain/MusicIndex.java index f0d2de31..b2981106 100644 --- a/airsonic-main/src/main/java/org/airsonic/player/domain/MusicIndex.java +++ b/airsonic-main/src/main/java/org/airsonic/player/domain/MusicIndex.java @@ -100,11 +100,7 @@ public class MusicIndex implements Serializable { final MusicIndex musicIndex = (MusicIndex) o; - if (!Objects.equals(index, musicIndex.index)) { - return false; - } - - return true; + return Objects.equals(index, musicIndex.index); } /**