mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Cleanup code
This commit is contained in:
parent
e57a7b9293
commit
a1051c64f7
1 changed files with 8 additions and 8 deletions
|
|
@ -22,6 +22,10 @@ public class SearchResult2 {
|
|||
return this.artists;
|
||||
}
|
||||
|
||||
public void setArtists(List<Artist> artists) {
|
||||
this.artists = artists;
|
||||
}
|
||||
|
||||
public List<Child> getAlbums() {
|
||||
if (albums == null) {
|
||||
albums = new ArrayList<>();
|
||||
|
|
@ -29,6 +33,10 @@ public class SearchResult2 {
|
|||
return this.albums;
|
||||
}
|
||||
|
||||
public void setAlbums(List<Child> albums) {
|
||||
this.albums = albums;
|
||||
}
|
||||
|
||||
public List<Child> getSongs() {
|
||||
if (songs == null) {
|
||||
songs = new ArrayList<>();
|
||||
|
|
@ -36,14 +44,6 @@ public class SearchResult2 {
|
|||
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) {
|
||||
this.songs = songs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue