mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Remove unused field and methods
This commit is contained in:
parent
e14cca2fec
commit
6ddd981406
1 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue