mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Replace 'removeAll()' with 'clear()'
This commit is contained in:
parent
825cdafe7b
commit
547f2a062c
2 changed files with 3 additions and 3 deletions
|
|
@ -173,7 +173,7 @@ public class Media implements Parcelable {
|
|||
}
|
||||
|
||||
public void setCategories(List<String> categories) {
|
||||
this.categories.removeAll(this.categories);
|
||||
this.categories.clear();
|
||||
this.categories.addAll(categories);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue