diff options
author | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 14:34:05 -0800 |
---|---|---|
committer | Anton Tananaev <atananaev@lyft.com> | 2020-12-28 14:34:05 -0800 |
commit | 45a98c81bc5c9510dfe25f91b0e84d7608eaf7eb (patch) | |
tree | 21ae76e3f914eff0850862cf258f43a8473852d3 /src/main/java/org/traccar/model | |
parent | ea0e6285be71112c5049d4712a2a31c8348dc9cc (diff) | |
download | trackermap-server-45a98c81bc5c9510dfe25f91b0e84d7608eaf7eb.tar.gz trackermap-server-45a98c81bc5c9510dfe25f91b0e84d7608eaf7eb.tar.bz2 trackermap-server-45a98c81bc5c9510dfe25f91b0e84d7608eaf7eb.zip |
Refactor double keys
Diffstat (limited to 'src/main/java/org/traccar/model')
-rw-r--r-- | src/main/java/org/traccar/model/Geofence.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/model/Geofence.java b/src/main/java/org/traccar/model/Geofence.java index 835ea7c22..85f392f99 100644 --- a/src/main/java/org/traccar/model/Geofence.java +++ b/src/main/java/org/traccar/model/Geofence.java @@ -68,7 +68,7 @@ public class Geofence extends ScheduledModel { } else if (area.startsWith("LINESTRING")) { final double distance = getDouble("polylineDistance"); geometry = new GeofencePolyline(area, distance > 0 ? distance - : Context.getConfig().getDouble(Keys.GEOFENCE_POLYLINE_DISTANCE, 25)); + : Context.getConfig().getDouble(Keys.GEOFENCE_POLYLINE_DISTANCE)); } else { throw new ParseException("Unknown geometry type", 0); } |