Simplify a condition

master
jvoisin 5 years ago
parent 9f027f333e
commit b6414ebb6c
  1. 6
      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);
}
/**

Loading…
Cancel
Save