[Android] Media: use blank string
Edward Wang
git at videolan.org
Fri Jul 18 17:55:38 CEST 2014
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Jul 18 11:55:31 2014 -0400| [8df90919961db4e86935a10d8c2e744b6e6f7174] | committer: Edward Wang
Media: use blank string
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8df90919961db4e86935a10d8c2e744b6e6f7174
---
vlc-android/src/org/videolan/libvlc/Media.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/libvlc/Media.java b/vlc-android/src/org/videolan/libvlc/Media.java
index 62b6fc1..29b9d94 100644
--- a/vlc-android/src/org/videolan/libvlc/Media.java
+++ b/vlc-android/src/org/videolan/libvlc/Media.java
@@ -358,7 +358,7 @@ public class Media implements Comparable<Media> {
else {
String fileName = getFileName();
if (fileName == null)
- return new String();
+ return "";
int end = fileName.lastIndexOf(".");
if (end <= 0)
return fileName;
More information about the Android
mailing list