mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Code style
This commit is contained in:
parent
94b19f27b9
commit
e299536c8a
2 changed files with 4 additions and 3 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
package fr.free.nrw.commons;
|
package fr.free.nrw.commons;
|
||||||
|
|
||||||
|
import fr.free.nrw.commons.location.LatLng;
|
||||||
|
|
||||||
import org.mediawiki.api.ApiResult;
|
import org.mediawiki.api.ApiResult;
|
||||||
import org.w3c.dom.Document;
|
import org.w3c.dom.Document;
|
||||||
import org.w3c.dom.Element;
|
import org.w3c.dom.Element;
|
||||||
|
|
@ -20,7 +22,6 @@ import javax.xml.parsers.DocumentBuilder;
|
||||||
import javax.xml.parsers.DocumentBuilderFactory;
|
import javax.xml.parsers.DocumentBuilderFactory;
|
||||||
import javax.xml.parsers.ParserConfigurationException;
|
import javax.xml.parsers.ParserConfigurationException;
|
||||||
|
|
||||||
import fr.free.nrw.commons.location.LatLng;
|
|
||||||
import timber.log.Timber;
|
import timber.log.Timber;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ public class LatLng {
|
||||||
* @return The formatted string.
|
* @return The formatted string.
|
||||||
*/
|
*/
|
||||||
public String getPrettyCoordinateString() {
|
public String getPrettyCoordinateString() {
|
||||||
return formatCoordinate(this.latitude) + " " + this.getNorthSouth() + ", " +
|
return formatCoordinate(this.latitude) + " " + this.getNorthSouth() + ", "
|
||||||
formatCoordinate(this.longitude) + " " + this.getEastWest();
|
+ formatCoordinate(this.longitude) + " " + this.getEastWest();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue