diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-01-27 16:12:35 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-01-27 16:12:35 -0800 |
commit | dd15f47de2497fb1cbb523013a93bf476b36f880 (patch) | |
tree | c9fb9a1f05b8c93343f9a4528fe221ac3ce9333d | |
parent | 529de9b4f29c93dd5afc20dd70c3e1f138916c8a (diff) | |
download | dsub-dd15f47de2497fb1cbb523013a93bf476b36f880.tar.gz dsub-dd15f47de2497fb1cbb523013a93bf476b36f880.tar.bz2 dsub-dd15f47de2497fb1cbb523013a93bf476b36f880.zip |
Get rid of another String.isEmpty()
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java b/subsonic-android/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java index 89d8d52f..818c8235 100644 --- a/subsonic-android/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java +++ b/subsonic-android/src/github/daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java @@ -54,7 +54,7 @@ public class MusicDirectoryEntryParser extends AbstractParser { entry.setBitRate(getInteger("bitRate")); entry.setPath(get("path")); entry.setVideo(getBoolean("isVideo")); - } else if(!artist.isEmpty()) { + } else if(!"".equals(artist)) { entry.setPath(artist + "/" + entry.getTitle()); } return entry; |