From dd15f47de2497fb1cbb523013a93bf476b36f880 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Sun, 27 Jan 2013 16:12:35 -0800 Subject: Get rid of another String.isEmpty() --- .../daneren2005/dsub/service/parser/MusicDirectoryEntryParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src') 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; -- cgit v1.2.3