aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/geofence/GeofenceCircle.java
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-06-13 16:55:01 +0500
committerAbyss777 <abyss@fox5.ru>2016-06-13 16:55:01 +0500
commit3b5b60dace5ad75fe92bee5adef0c7e4c61b7757 (patch)
tree355cc0cd0d622cbbb7dbada1f5d04ff010367301 /src/org/traccar/geofence/GeofenceCircle.java
parenta5cdddd4a304f75645a2b89b7e834e5750466c5b (diff)
downloadtrackermap-server-3b5b60dace5ad75fe92bee5adef0c7e4c61b7757.tar.gz
trackermap-server-3b5b60dace5ad75fe92bee5adef0c7e4c61b7757.tar.bz2
trackermap-server-3b5b60dace5ad75fe92bee5adef0c7e4c61b7757.zip
Style fixes
Diffstat (limited to 'src/org/traccar/geofence/GeofenceCircle.java')
-rw-r--r--src/org/traccar/geofence/GeofenceCircle.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/geofence/GeofenceCircle.java b/src/org/traccar/geofence/GeofenceCircle.java
index 76d5a2816..e1c8f8a02 100644
--- a/src/org/traccar/geofence/GeofenceCircle.java
+++ b/src/org/traccar/geofence/GeofenceCircle.java
@@ -17,7 +17,7 @@ public class GeofenceCircle extends GeofenceGeometry {
public GeofenceCircle(String wkt) throws ParseException {
super();
- fromWKT(wkt);
+ fromWkt(wkt);
}
public GeofenceCircle(double latitude, double longitude, double radius) {
@@ -33,7 +33,7 @@ public class GeofenceCircle extends GeofenceGeometry {
}
@Override
- public String toWKT() {
+ public String toWkt() {
String wkt = "";
wkt = "CIRCLE (";
wkt += String.valueOf(centerLatitude);
@@ -47,7 +47,7 @@ public class GeofenceCircle extends GeofenceGeometry {
}
@Override
- public void fromWKT(String wkt) throws ParseException {
+ public void fromWkt(String wkt) throws ParseException {
if (!wkt.startsWith("CIRCLE")) {
throw new ParseException("Mismatch geometry type", 0);
}