Revert "Fixes #2337 - Show captions of image in media details (conflicts fixed) (#2933)" (#2934)

This reverts commit 3c9b7ba7a8.
This commit is contained in:
Ashish Kumar 2019-05-01 16:10:43 +05:30 committed by GitHub
parent 3c9b7ba7a8
commit c8a58bfc2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 6 additions and 137 deletions

View file

@ -47,7 +47,6 @@ public class Media implements Parcelable {
protected String filename;
protected String description; // monolingual description on input...
protected String discussion;
protected String caption;
protected long dataLength;
protected Date dateCreated;
protected @Nullable Date dateUploaded;
@ -241,22 +240,6 @@ public class Media implements Parcelable {
return imageUrl;
}
/**
* Sets the Caption of the file.
* @param caption
*/
public void setCaption(String caption) {
this.caption = caption;
}
/**
* Gets the file Caption as a string.
* @return file Caption as a string
*/
public String getCaption() {
return caption;
}
/**
* Gets the name of the file.
* @return file name as a string