[Android] AudioBrowserListAdapter: ListItem: set members final

Thomas Guillem git at videolan.org
Mon Jan 26 15:59:55 CET 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jan 26 15:39:18 2015 +0100| [8c5578cebbbf3ab600892a2a66b306237d7404e8] | committer: Thomas Guillem

AudioBrowserListAdapter: ListItem: set members final

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

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

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
index 58dc170..09c2b8f 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioBrowserListAdapter.java
@@ -82,10 +82,10 @@ public class AudioBrowserListAdapter extends BaseAdapter implements SectionIndex
 
     // An item of the list: a media or a separator.
     class ListItem {
-        public String mTitle;
-        public String mSubTitle;
-        public ArrayList<MediaWrapper> mMediaList;
-        public boolean mIsSeparator;
+        final public String mTitle;
+        final public String mSubTitle;
+        final public ArrayList<MediaWrapper> mMediaList;
+        final public boolean mIsSeparator;
 
         public ListItem(String title, String subTitle, MediaWrapper media, boolean isSeparator) {
             mMediaList = new ArrayList<MediaWrapper>();



More information about the Android mailing list