diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-22 10:17:04 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-03-22 10:17:04 +1300 |
commit | 22d3d0b95866dd273a5c4537d727758e8a1ddd15 (patch) | |
tree | 1135c1e5db0bcd2e2424320266e846c3f9704363 /src/org/traccar/LocationProviderHandler.java | |
parent | f0d21710b5a59226fe2f45a989d8134d9cae996a (diff) | |
download | trackermap-server-22d3d0b95866dd273a5c4537d727758e8a1ddd15.tar.gz trackermap-server-22d3d0b95866dd273a5c4537d727758e8a1ddd15.tar.bz2 trackermap-server-22d3d0b95866dd273a5c4537d727758e8a1ddd15.zip |
Fix minor issues in the code
Diffstat (limited to 'src/org/traccar/LocationProviderHandler.java')
-rw-r--r-- | src/org/traccar/LocationProviderHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/LocationProviderHandler.java b/src/org/traccar/LocationProviderHandler.java index c59427474..3c0fcf522 100644 --- a/src/org/traccar/LocationProviderHandler.java +++ b/src/org/traccar/LocationProviderHandler.java @@ -45,7 +45,7 @@ public class LocationProviderHandler implements ChannelUpstreamHandler { Object message = e.getMessage(); if (message instanceof Position) { final Position position = (Position) message; - if (position.getOutdated() || (processInvalidPositions && !position.getValid())) { + if (position.getOutdated() || processInvalidPositions && !position.getValid()) { locationProvider.getLocation(position.getAttributes(), new LocationProvider.LocationProviderCallback() { @Override public void onSuccess(double latitude, double longitude) { |