mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Replace explicit type with diamond operator
This commit is contained in:
parent
126a823fb5
commit
d866ab3e07
16 changed files with 43 additions and 43 deletions
|
|
@ -27,11 +27,11 @@ public class Media implements Parcelable {
|
|||
};
|
||||
|
||||
protected Media() {
|
||||
this.categories = new ArrayList<String>();
|
||||
this.descriptions = new HashMap<String, String>();
|
||||
this.categories = new ArrayList<>();
|
||||
this.descriptions = new HashMap<>();
|
||||
}
|
||||
|
||||
private HashMap<String, Object> tags = new HashMap<String, Object>();
|
||||
private HashMap<String, Object> tags = new HashMap<>();
|
||||
|
||||
public Object getTag(String key) {
|
||||
return tags.get(key);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue