aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjon-stumpf <jon.stumpf@gmail.com>2017-02-11 20:16:50 -0500
committerjon-stumpf <jon.stumpf@gmail.com>2017-02-11 20:16:50 -0500
commit90ae1911e712813351f1caec1cf6964115dfa479 (patch)
treeab97fc75345d3051353757d6ad4cdc1dc27ebb4f /src
parenteb78d7bd7236234021ee0dfa3202e8cc8ef823f7 (diff)
downloadtrackermap-server-90ae1911e712813351f1caec1cf6964115dfa479.tar.gz
trackermap-server-90ae1911e712813351f1caec1cf6964115dfa479.tar.bz2
trackermap-server-90ae1911e712813351f1caec1cf6964115dfa479.zip
Fixed typo in Position.ALARM_ACCELERATION;
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/model/Position.java2
-rw-r--r--src/org/traccar/protocol/Pt502ProtocolDecoder.java2
-rw-r--r--src/org/traccar/protocol/TzoneProtocolDecoder.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/org/traccar/model/Position.java b/src/org/traccar/model/Position.java
index a88e16804..038bae8bb 100644
--- a/src/org/traccar/model/Position.java
+++ b/src/org/traccar/model/Position.java
@@ -86,7 +86,7 @@ public class Position extends Message {
public static final String ALARM_GPS_ANTENNA_CUT = "gpsAntennaCut";
public static final String ALARM_ACCIDENT = "accident";
public static final String ALARM_TOW = "tow";
- public static final String ALARM_ACCELETATION = "hardAcceleration";
+ public static final String ALARM_ACCELERATION = "hardAcceleration";
public static final String ALARM_BREAKING = "hardBreaking";
public static final String ALARM_FATIGUE_DRIVING = "fatigueDriving";
public static final String ALARM_POWER_CUT = "powerCut";
diff --git a/src/org/traccar/protocol/Pt502ProtocolDecoder.java b/src/org/traccar/protocol/Pt502ProtocolDecoder.java
index 54f54d392..a72d237d3 100644
--- a/src/org/traccar/protocol/Pt502ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Pt502ProtocolDecoder.java
@@ -65,7 +65,7 @@ public class Pt502ProtocolDecoder extends BaseProtocolDecoder {
case "TOW":
return Position.ALARM_TOW;
case "HDA":
- return Position.ALARM_ACCELETATION;
+ return Position.ALARM_ACCELERATION;
case "HDB":
return Position.ALARM_BREAKING;
case "FDA":
diff --git a/src/org/traccar/protocol/TzoneProtocolDecoder.java b/src/org/traccar/protocol/TzoneProtocolDecoder.java
index 2b5d90e7a..0fc93a03c 100644
--- a/src/org/traccar/protocol/TzoneProtocolDecoder.java
+++ b/src/org/traccar/protocol/TzoneProtocolDecoder.java
@@ -45,7 +45,7 @@ public class TzoneProtocolDecoder extends BaseProtocolDecoder {
case 0x14:
return Position.ALARM_BREAKING;
case 0x15:
- return Position.ALARM_ACCELETATION;
+ return Position.ALARM_ACCELERATION;
case 0x30:
return Position.ALARM_PARKING;
case 0x42: