diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-09-04 08:02:32 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-09-04 08:02:32 -0400 |
| commit | 10eb9f09b48329b3a4a6e043406ab6dc6eba1a3f (patch) | |
| tree | f348cb01f8e952c4cb3941d42c52639536256d7c /Source/Android/src | |
| parent | b94a462fcad730f20c5f97014f755611bc00d847 (diff) | |
[Android] Change a check for an empty path from !path.equals("") to !path.isEmpty() in GameListItem.
Also simplify the logging exception tag in the constructor.
Diffstat (limited to 'Source/Android/src')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListItem.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListItem.java b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListItem.java index a84b901bdd..f65740dec3 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListItem.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/gamelist/GameListItem.java @@ -42,7 +42,7 @@ public final class GameListItem implements Comparable<GameListItem> this.path = path; File file = new File(path); - if (!file.isDirectory() && !path.equals("")) + if (!file.isDirectory() && !path.isEmpty()) { int[] Banner = NativeLibrary.GetBanner(path); if (Banner[0] == 0) @@ -60,7 +60,7 @@ public final class GameListItem implements Comparable<GameListItem> } catch (IOException e) { - Log.e("Exception-GameListItem", e.toString()); + Log.e("GameListItem", e.toString()); } } else |
