aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-01-27 16:12:35 -0800
committerScott Jackson <daneren2005@gmail.com>2013-01-27 16:12:35 -0800
commitdd15f47de2497fb1cbb523013a93bf476b36f880 (patch)
treec9fb9a1f05b8c93343f9a4528fe221ac3ce9333d
parent529de9b4f29c93dd5afc20dd70c3e1f138916c8a (diff)
downloaddsub-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.java2
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;