mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Add missing annotations
This commit is contained in:
parent
9658f18fea
commit
79a22c1aca
7 changed files with 23 additions and 18 deletions
|
|
@ -142,7 +142,7 @@ public class Media implements Parcelable {
|
|||
return coordinates;
|
||||
}
|
||||
|
||||
public void setCoordinates(LatLng coordinates) {
|
||||
public void setCoordinates(@Nullable LatLng coordinates) {
|
||||
this.coordinates = coordinates;
|
||||
}
|
||||
|
||||
|
|
@ -201,7 +201,7 @@ public class Media implements Parcelable {
|
|||
this.filename = filename;
|
||||
}
|
||||
|
||||
public Media(Uri localUri, String imageUrl, String filename, String description, long dataLength, Date dateCreated, Date dateUploaded, String creator) {
|
||||
public Media(Uri localUri, String imageUrl, String filename, String description, long dataLength, Date dateCreated, @Nullable Date dateUploaded, String creator) {
|
||||
this();
|
||||
this.localUri = localUri;
|
||||
this.imageUrl = imageUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue