diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-31 11:47:20 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-31 11:47:20 +1300 |
commit | 352986138b5eb580af85f9d0650766303c72ea90 (patch) | |
tree | 0e6eeb2fba240200d590433417eb5dadef4092ad /src/org/traccar/GeolocationHandler.java | |
parent | 679c2852e3c4987091e0b84b7e7d80a9f72964a0 (diff) | |
download | trackermap-server-352986138b5eb580af85f9d0650766303c72ea90.tar.gz trackermap-server-352986138b5eb580af85f9d0650766303c72ea90.tar.bz2 trackermap-server-352986138b5eb580af85f9d0650766303c72ea90.zip |
Fix style issues
Diffstat (limited to 'src/org/traccar/GeolocationHandler.java')
-rw-r--r-- | src/org/traccar/GeolocationHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/traccar/GeolocationHandler.java b/src/org/traccar/GeolocationHandler.java index 1e9bd6772..669c31654 100644 --- a/src/org/traccar/GeolocationHandler.java +++ b/src/org/traccar/GeolocationHandler.java @@ -47,7 +47,8 @@ public class GeolocationHandler implements ChannelUpstreamHandler { final Position position = (Position) message; if ((position.getOutdated() || processInvalidPositions && !position.getValid()) && position.getNetwork() != null) { - geolocationProvider.getLocation(position.getNetwork(), new GeolocationProvider.LocationProviderCallback() { + geolocationProvider.getLocation(position.getNetwork(), + new GeolocationProvider.LocationProviderCallback() { @Override public void onSuccess(double latitude, double longitude, double accuracy) { position.set(Position.KEY_APPROXIMATE, true); |