Remove unused field and methods

This commit is contained in:
Suchit Kar 2018-03-13 02:39:02 +05:30
parent e14cca2fec
commit 6ddd981406

View file

@ -43,7 +43,6 @@ public class Media implements Parcelable {
protected String license; protected String license;
protected String creator; protected String creator;
protected ArrayList<String> categories; // as loaded at runtime? protected ArrayList<String> categories; // as loaded at runtime?
protected boolean requestedDeletion;
private Map<String, String> descriptions; // multilingual descriptions as loaded private Map<String, String> descriptions; // multilingual descriptions as loaded
private HashMap<String, Object> tags = new HashMap<>(); private HashMap<String, Object> tags = new HashMap<>();
private @Nullable LatLng coordinates; private @Nullable LatLng coordinates;
@ -54,7 +53,6 @@ public class Media implements Parcelable {
protected Media() { protected Media() {
this.categories = new ArrayList<>(); this.categories = new ArrayList<>();
this.descriptions = new HashMap<>(); this.descriptions = new HashMap<>();
this.requestedDeletion = false;
} }
/** /**
@ -418,12 +416,4 @@ public class Media implements Parcelable {
parcel.writeStringList(categories); parcel.writeStringList(categories);
parcel.writeMap(descriptions); parcel.writeMap(descriptions);
} }
public void setRequestedDeletion(){
requestedDeletion = true;
}
public boolean getRequestedDeletion(){
return requestedDeletion;
}
} }