Fixed a lot of possible issues raised by a code inspection

This commit is contained in:
CappielloAntonio 2021-09-04 16:14:10 +02:00
parent 39ff821aee
commit 042bf3077f
76 changed files with 148 additions and 225 deletions

View file

@ -20,9 +20,7 @@ public class Artist implements Parcelable {
public static final String DOWNLOADED = "DOWNLOADED";
public static final String STARRED = "STARRED";
private List<Genre> genres;
private List<Album> albums;
private List<Song> songs;
private List<Artist> similarArtists;
private String id;
@ -222,9 +220,7 @@ public class Artist implements Parcelable {
}
protected Artist(Parcel in) {
this.genres = new ArrayList<>();
this.albums = new ArrayList<>();
this.songs = new ArrayList<>();
this.id = in.readString();
this.name = in.readString();
this.primary = in.readString();