aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-06-16 11:56:49 +0500
committerAbyss777 <abyss@fox5.ru>2016-06-16 11:56:49 +0500
commit82a78ff77a076231a8429f0dd84678d61c31d44a (patch)
tree4d2f185c4e2d119aaf6dba800f7eeb61d8433fd4 /src/org/traccar
parent950979e7dc955aace97c496bba9f374c5756c9b1 (diff)
downloadtrackermap-server-82a78ff77a076231a8429f0dd84678d61c31d44a.tar.gz
trackermap-server-82a78ff77a076231a8429f0dd84678d61c31d44a.tar.bz2
trackermap-server-82a78ff77a076231a8429f0dd84678d61c31d44a.zip
Variable naming fix
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/geofence/GeofenceCircle.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/org/traccar/geofence/GeofenceCircle.java b/src/org/traccar/geofence/GeofenceCircle.java
index 28b55f59e..a36620aec 100644
--- a/src/org/traccar/geofence/GeofenceCircle.java
+++ b/src/org/traccar/geofence/GeofenceCircle.java
@@ -67,11 +67,11 @@ public class GeofenceCircle extends GeofenceGeometry {
if (content == null || content.equals("")) {
throw new ParseException("No content", 0);
}
- String[] commatokens = content.split(",");
- if (commatokens.length != 2) {
+ String[] commaTokens = content.split(",");
+ if (commaTokens.length != 2) {
throw new ParseException("Not valid content", 0);
}
- String[] tokens = commatokens[0].split("\\s");
+ String[] tokens = commaTokens[0].split("\\s");
if (tokens.length != 2) {
throw new ParseException("Too much or less coordinates", 0);
}
@@ -86,9 +86,9 @@ public class GeofenceCircle extends GeofenceGeometry {
throw new ParseException(tokens[1] + " is not a double", 0);
}
try {
- radius = Double.parseDouble(commatokens[1]);
+ radius = Double.parseDouble(commaTokens[1]);
} catch (NumberFormatException e) {
- throw new ParseException(commatokens[1] + " is not a double", 0);
+ throw new ParseException(commaTokens[1] + " is not a double", 0);
}
}
}