diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-17 22:04:02 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-10-17 22:04:02 +1300 |
commit | 7e2698ea6d1933030cd7e7a2fb33e3c984166f78 (patch) | |
tree | dbc1e6eba35a0887601c9c36e7d3b33dfc92d141 /test/org | |
parent | 5108e83e378fae8fe3f834fa00f3a6df63785579 (diff) | |
download | trackermap-server-7e2698ea6d1933030cd7e7a2fb33e3c984166f78.tar.gz trackermap-server-7e2698ea6d1933030cd7e7a2fb33e3c984166f78.tar.bz2 trackermap-server-7e2698ea6d1933030cd7e7a2fb33e3c984166f78.zip |
Fix style problem with filter handler
Diffstat (limited to 'test/org')
-rw-r--r-- | test/org/traccar/FilterHandlerTest.java | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/test/org/traccar/FilterHandlerTest.java b/test/org/traccar/FilterHandlerTest.java index b1e4fcb16..bb7e69dc0 100644 --- a/test/org/traccar/FilterHandlerTest.java +++ b/test/org/traccar/FilterHandlerTest.java @@ -15,8 +15,16 @@ public class FilterHandlerTest { @Before public void setUp() { - filtingHandler = new FilterHandler(true, true, true, true, true, 10, 10); - passingHandler = new FilterHandler(false, false, false, false, false, 0, 0); + passingHandler = new FilterHandler(); + filtingHandler = new FilterHandler(); + filtingHandler.setFilterInvalid(true); + filtingHandler.setFilterZero(true); + filtingHandler.setFilterDuplicate(true); + filtingHandler.setFilterFuture(true); + filtingHandler.setFilterApproximate(true); + filtingHandler.setFilterStatic(true); + filtingHandler.setFilterDistance(10); + filtingHandler.setFilterLimit(10); } @After |