mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 09:53:33 +00:00
Fixed a lot of possible issues raised by a code inspection
This commit is contained in:
parent
39ff821aee
commit
042bf3077f
76 changed files with 148 additions and 225 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue