diff options
author | Brandon <bwaggone@umich.edu> | 2018-11-10 20:06:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 20:06:13 -0500 |
commit | aa8c0e31584a046d7b9515f6bf1c191331d00333 (patch) | |
tree | ea8b7919d9c58156eb1dcf554036e7171977d8bb /src/main/java/soundchan/LocalAudioManager.java | |
parent | 7279979078f75500657f691b798802782d09765f (diff) | |
parent | e8349bd221233f95eeb2205ddfd6df42f3a39133 (diff) | |
download | SoundChan-aa8c0e31584a046d7b9515f6bf1c191331d00333.tar.gz SoundChan-aa8c0e31584a046d7b9515f6bf1c191331d00333.tar.bz2 SoundChan-aa8c0e31584a046d7b9515f6bf1c191331d00333.zip |
Merge pull request #12 from bwaggone/bugfix/nothing-found-by-null
Checking for sound file not found and returning proper string
Diffstat (limited to 'src/main/java/soundchan/LocalAudioManager.java')
-rw-r--r-- | src/main/java/soundchan/LocalAudioManager.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/soundchan/LocalAudioManager.java b/src/main/java/soundchan/LocalAudioManager.java index 4b16850..28d25b9 100644 --- a/src/main/java/soundchan/LocalAudioManager.java +++ b/src/main/java/soundchan/LocalAudioManager.java @@ -58,6 +58,9 @@ public class LocalAudioManager { path = ""; } } + if(path.contentEquals(filepath + "/null")) { + return ""; + } return path; } |