mirror of
https://github.com/gmbrax/MediaManager-core.git
synced 2026-11-09 14:00:17 +00:00
Update src/main/java/com/mediamanager/model/Album.java
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
parent
e51d5aa678
commit
7b7d1e7348
@@ -74,7 +74,9 @@ public class Album {
|
||||
|
||||
public void removeArtist(Artist artist) {
|
||||
albumArtists.removeIf(aa ->
|
||||
aa.getArtist() != null && aa.getArtist().getId().equals(artist.getId())
|
||||
aa.getArtist() != null &&
|
||||
aa.getArtist().getId() != null &&
|
||||
aa.getArtist().getId().equals(artist.getId())
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user