mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 12:53:55 +01:00
Remove redudant local variables
This commit is contained in:
parent
75060d7875
commit
876b299ecc
1 changed files with 2 additions and 5 deletions
|
|
@ -403,8 +403,7 @@ public class MediaDetailFragment extends Fragment {
|
||||||
return "Uploaded date not available";
|
return "Uploaded date not available";
|
||||||
}
|
}
|
||||||
SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy");
|
SimpleDateFormat formatter = new SimpleDateFormat("dd MMM yyyy");
|
||||||
String formattedDate = formatter.format(date);
|
return formatter.format(date);
|
||||||
return formattedDate;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -413,8 +412,6 @@ public class MediaDetailFragment extends Fragment {
|
||||||
* @return Coordinates as text.
|
* @return Coordinates as text.
|
||||||
*/
|
*/
|
||||||
private String prettyCoordinates(Media media) {
|
private String prettyCoordinates(Media media) {
|
||||||
String coordinates = media.getCoordinates();
|
return media.getCoordinates();
|
||||||
|
|
||||||
return coordinates;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue