diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2015-12-10 16:41:09 +0100 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2015-12-10 16:41:09 +0100 |
commit | 0e12da7ec6e79219c47600dce98d327e5f728679 (patch) | |
tree | bf6413d39034d35dc32e1145dcb5ef77877d5551 /app/src/main/java/de/danoeh/antennapod/menuhandler | |
parent | c1216009771ed50908ef332c0d67d89663025678 (diff) | |
download | AntennaPod-0e12da7ec6e79219c47600dce98d327e5f728679.zip |
Filter list -> filter set
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/menuhandler')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java index 744ce876e..2d6d4cac1 100644 --- a/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java +++ b/app/src/main/java/de/danoeh/antennapod/menuhandler/FeedMenuHandler.java @@ -12,10 +12,10 @@ import android.view.MenuInflater; import android.view.MenuItem; import android.widget.Toast; -import java.util.ArrayList; import java.util.Arrays; +import java.util.HashSet; import java.util.Iterator; -import java.util.List; +import java.util.Set; import de.danoeh.antennapod.R; import de.danoeh.antennapod.core.dialog.ConfirmationDialog; @@ -116,7 +116,7 @@ public class FeedMenuHandler { final String[] values = context.getResources().getStringArray(R.array.episode_hide_values); final boolean[] checkedItems = new boolean[items.length]; - final List<String> hidden = new ArrayList<String>(Arrays.asList(feed.getItemFilter().getValues())); + final Set<String> hidden = new HashSet<String>(Arrays.asList(feed.getItemFilter().getValues())); Iterator<String> it = hidden.iterator(); while(it.hasNext()) { // make sure we have no empty strings in the filter list |