Code style

This commit is contained in:
Tobias Schönberg 2017-05-14 10:00:17 +02:00
parent 94b19f27b9
commit e299536c8a
2 changed files with 4 additions and 3 deletions

View file

@ -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;
/** /**

View file

@ -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();
} }
} }