mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-05 00:33:06 +00:00
Cleanup code
This commit is contained in:
@@ -22,6 +22,10 @@ public class SearchResult2 {
|
|||||||
return this.artists;
|
return this.artists;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setArtists(List<Artist> artists) {
|
||||||
|
this.artists = artists;
|
||||||
|
}
|
||||||
|
|
||||||
public List<Child> getAlbums() {
|
public List<Child> getAlbums() {
|
||||||
if (albums == null) {
|
if (albums == null) {
|
||||||
albums = new ArrayList<>();
|
albums = new ArrayList<>();
|
||||||
@@ -29,6 +33,10 @@ public class SearchResult2 {
|
|||||||
return this.albums;
|
return this.albums;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setAlbums(List<Child> albums) {
|
||||||
|
this.albums = albums;
|
||||||
|
}
|
||||||
|
|
||||||
public List<Child> getSongs() {
|
public List<Child> getSongs() {
|
||||||
if (songs == null) {
|
if (songs == null) {
|
||||||
songs = new ArrayList<>();
|
songs = new ArrayList<>();
|
||||||
@@ -36,14 +44,6 @@ public class SearchResult2 {
|
|||||||
return this.songs;
|
return this.songs;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setArtists(List<Artist> artists) {
|
|
||||||
this.artists = artists;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setAlbums(List<Child> albums) {
|
|
||||||
this.albums = albums;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setSongs(List<Child> songs) {
|
public void setSongs(List<Child> songs) {
|
||||||
this.songs = songs;
|
this.songs = songs;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user