Replace explicit type with diamond operator

This commit is contained in:
veyndan 2017-03-01 15:44:32 +00:00
parent 126a823fb5
commit d866ab3e07
16 changed files with 43 additions and 43 deletions

View file

@ -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);