aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/GeolocationHandler.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-12-31 11:47:20 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-12-31 11:47:20 +1300
commit352986138b5eb580af85f9d0650766303c72ea90 (patch)
tree0e6eeb2fba240200d590433417eb5dadef4092ad /src/org/traccar/GeolocationHandler.java
parent679c2852e3c4987091e0b84b7e7d80a9f72964a0 (diff)
downloadtrackermap-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.java3
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);