Simplify a condition
This commit is contained in:
@@ -100,11 +100,7 @@ public class MusicIndex implements Serializable {
|
|||||||
|
|
||||||
final MusicIndex musicIndex = (MusicIndex) o;
|
final MusicIndex musicIndex = (MusicIndex) o;
|
||||||
|
|
||||||
if (!Objects.equals(index, musicIndex.index)) {
|
return Objects.equals(index, musicIndex.index);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user