diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:56:47 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-02-22 07:56:47 +1300 |
commit | 8ad8f84cf2d1f37759633ac274ea1144aeea6903 (patch) | |
tree | 5c79eb65c84e5cb88478deddfbbb78c0e5b9e388 /src/org/traccar | |
parent | 049fc82cd5f5b7fea93d3e55aad083e30af22cdd (diff) | |
download | traccar-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.tar.gz traccar-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.tar.bz2 traccar-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.zip |
Minor change to filtering handler
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/FilterHandler.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/org/traccar/FilterHandler.java b/src/org/traccar/FilterHandler.java index 0a54cfeca..ec3e67ec4 100644 --- a/src/org/traccar/FilterHandler.java +++ b/src/org/traccar/FilterHandler.java @@ -109,8 +109,7 @@ public class FilterHandler extends BaseDataHandler { } private boolean filterApproximate(Position position) { - Boolean approximate = position.getBoolean(Position.KEY_APPROXIMATE); - return filterApproximate && approximate != null && approximate; + return filterApproximate && position.getBoolean(Position.KEY_APPROXIMATE); } private boolean filterStatic(Position position) { |