diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-14 10:10:30 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-14 10:10:30 +1300 |
commit | 26659e3631901a46e35a5c2ac89c698a52277b0a (patch) | |
tree | e79af12bbeb18da1d879b11f066da96517bf9a4c /src/org/traccar/geocode | |
parent | 398b705820109c1103d915a2fec81fcf70b032cf (diff) | |
download | trackermap-server-26659e3631901a46e35a5c2ac89c698a52277b0a.tar.gz trackermap-server-26659e3631901a46e35a5c2ac89c698a52277b0a.tar.bz2 trackermap-server-26659e3631901a46e35a5c2ac89c698a52277b0a.zip |
Fix some check style issues
Diffstat (limited to 'src/org/traccar/geocode')
-rw-r--r-- | src/org/traccar/geocode/JsonReverseGeocoder.java | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/org/traccar/geocode/JsonReverseGeocoder.java b/src/org/traccar/geocode/JsonReverseGeocoder.java index 6f4b5dcd2..e07419d55 100644 --- a/src/org/traccar/geocode/JsonReverseGeocoder.java +++ b/src/org/traccar/geocode/JsonReverseGeocoder.java @@ -45,7 +45,9 @@ public abstract class JsonReverseGeocoder implements ReverseGeocoder { } @Override - public void getAddress(final AddressFormat format, final double latitude, final double longitude, final ReverseGeocoderCallback callback) { + public void getAddress( + final AddressFormat format, final double latitude, + final double longitude, final ReverseGeocoderCallback callback) { if (cache != null) { String cachedAddress = cache.get(new AbstractMap.SimpleImmutableEntry<>(latitude, longitude)); @@ -55,7 +57,8 @@ public abstract class JsonReverseGeocoder implements ReverseGeocoder { } } - Context.getAsyncHttpClient().prepareGet(String.format(url, latitude, longitude)).execute(new AsyncCompletionHandler() { + Context.getAsyncHttpClient().prepareGet(String.format(url, latitude, longitude)) + .execute(new AsyncCompletionHandler() { @Override public Object onCompleted(Response response) throws Exception { try (JsonReader reader = Json.createReader(response.getResponseBodyAsStream())) { |