Ignore false positive inspection

This commit is contained in:
TobiGr 2023-08-02 20:43:01 +02:00
parent 1e8efa7165
commit bc4f0c699f
1 changed files with 2 additions and 1 deletions

View File

@ -539,7 +539,8 @@ public abstract class PlayQueue implements Serializable {
public boolean equalStreamsAndIndex(@Nullable final PlayQueue other) {
if (equalStreams(other)) {
return other.getIndex() == getIndex();
//noinspection ConstantConditions
return other.getIndex() == getIndex(); //NOSONAR: other is not null
}
return false;
}