aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 07:56:47 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-02-22 07:56:47 +1300
commit8ad8f84cf2d1f37759633ac274ea1144aeea6903 (patch)
tree5c79eb65c84e5cb88478deddfbbb78c0e5b9e388 /src/org/traccar
parent049fc82cd5f5b7fea93d3e55aad083e30af22cdd (diff)
downloadtrackermap-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.tar.gz
trackermap-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.tar.bz2
trackermap-server-8ad8f84cf2d1f37759633ac274ea1144aeea6903.zip
Minor change to filtering handler
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/FilterHandler.java3
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) {