[Android] AudioBrowserFragment: code cosmetics

Jean-Baptiste Kempf git at videolan.org
Sat May 23 19:09:13 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 18:53:21 2015 +0200| [1c6f0dc6cb3de430e5d3164d2cd3cd4a88bac49b] | committer: Jean-Baptiste Kempf

AudioBrowserFragment: code cosmetics

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

 .../src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java       |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
index 5b0a27e..769d9b4 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserFragment.java
@@ -488,7 +488,7 @@ public class AudioBrowserFragment extends MediaBrowserFragment implements SwipeR
             startPosition = mSongsAdapter.getListWithPosition(medias, position);
         } else {
             startPosition = 0;
-            AudioBrowserListAdapter adapter = null;
+            AudioBrowserListAdapter adapter;
             switch (mode){
                 case MODE_SONG:
                     adapter = mSongsAdapter;
@@ -677,7 +677,7 @@ public class AudioBrowserFragment extends MediaBrowserFragment implements SwipeR
                         fragment.mSwipeRefreshLayout.setRefreshing(true);
             }
         }
-    };
+    }
 
     private void updateLists() {
         clear();



More information about the Android mailing list