mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue