mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Remove final variable
This commit is contained in:
parent
8c6046feda
commit
85d6e9885b
1 changed files with 3 additions and 1 deletions
|
|
@ -76,6 +76,8 @@ public class CategorizationFragment extends Fragment {
|
|||
|
||||
protected HashMap<String, ArrayList<String>> categoriesCache;
|
||||
|
||||
private ArrayList<String> selectedCategories = new ArrayList<String>();
|
||||
|
||||
// LHS guarantees ordered insertions, allowing for prioritized method A results
|
||||
private final Set<String> results = new LinkedHashSet<String>();
|
||||
PrefixUpdater prefixUpdaterSub;
|
||||
|
|
@ -584,7 +586,7 @@ public class CategorizationFragment extends Fragment {
|
|||
public boolean onOptionsItemSelected(MenuItem menuItem) {
|
||||
switch(menuItem.getItemId()) {
|
||||
case R.id.menu_save_categories:
|
||||
final ArrayList<String> selectedCategories = new ArrayList<String>();
|
||||
|
||||
int numberSelected = 0;
|
||||
|
||||
for(CategoryItem item: categoriesAdapter.getItems()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue