From a1051c64f760818fb7171514239384d2f2cb470c Mon Sep 17 00:00:00 2001 From: CappielloAntonio Date: Sat, 5 Feb 2022 18:38:30 +0100 Subject: [PATCH] Cleanup code --- .../play/subsonic/models/SearchResult2.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/com/cappielloantonio/play/subsonic/models/SearchResult2.java b/app/src/main/java/com/cappielloantonio/play/subsonic/models/SearchResult2.java index cd7bece4..b642e1e9 100644 --- a/app/src/main/java/com/cappielloantonio/play/subsonic/models/SearchResult2.java +++ b/app/src/main/java/com/cappielloantonio/play/subsonic/models/SearchResult2.java @@ -22,6 +22,10 @@ public class SearchResult2 { return this.artists; } + public void setArtists(List artists) { + this.artists = artists; + } + public List getAlbums() { if (albums == null) { albums = new ArrayList<>(); @@ -29,6 +33,10 @@ public class SearchResult2 { return this.albums; } + public void setAlbums(List albums) { + this.albums = albums; + } + public List getSongs() { if (songs == null) { songs = new ArrayList<>(); @@ -36,14 +44,6 @@ public class SearchResult2 { return this.songs; } - public void setArtists(List artists) { - this.artists = artists; - } - - public void setAlbums(List albums) { - this.albums = albums; - } - public void setSongs(List songs) { this.songs = songs; }