[Android] [PATCH 2/3] AudioBrowserListAdapter: ListItem: set members final
Thomas Guillem
thomas at gllm.fr
Mon Jan 26 15:54:25 CET 2015
---
.../src/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>();
--
2.1.3
More information about the Android
mailing list