[Android] Misleading variable name

Edward Wang git at videolan.org
Mon Aug 25 21:19:49 CEST 2014


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Aug 25 15:19:26 2014 -0400| [75374e65f6b0064ea7ed272fcac3f9b8f6248e4f] | committer: Edward Wang

Misleading variable name

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=75374e65f6b0064ea7ed272fcac3f9b8f6248e4f
---

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java    |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 69b318c..0a108cc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -598,13 +598,13 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         }
         if(data.getData() == null) return;
 
-        String uri = data.getData().getPath();
+        String subtitlePath = data.getData().getPath();
         if(requestCode == CommonDialogs.INTENT_SPECIFIC) {
-            Log.d(TAG, "Specific subtitle file: " + uri);
+            Log.d(TAG, "Specific subtitle file: " + subtitlePath);
         } else if(requestCode == CommonDialogs.INTENT_GENERIC) {
-            Log.d(TAG, "Generic subtitle file: " + uri);
+            Log.d(TAG, "Generic subtitle file: " + subtitlePath);
         }
-        mSubtitleSelectedFiles.add(data.getData().getPath());
+        mSubtitleSelectedFiles.add(subtitlePath);
     }
 
     public static void start(Context context, String location) {



More information about the Android mailing list