aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-11-06 00:28:56 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-11-06 00:28:56 +1300
commitd15d1aad65fe7caa739d100a7af7474ef54bcff3 (patch)
treec0f237c090a2a478ee95d017b60f42ef808104ec /src/org/traccar
parentf1d305a44c0ab0a87019e6b7634fc8d094fe52d2 (diff)
downloadtrackermap-server-d15d1aad65fe7caa739d100a7af7474ef54bcff3.tar.gz
trackermap-server-d15d1aad65fe7caa739d100a7af7474ef54bcff3.tar.bz2
trackermap-server-d15d1aad65fe7caa739d100a7af7474ef54bcff3.zip
Remove second to lower case
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/protocol/MegastekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java
index ca9185d4c..ad0f20a24 100644
--- a/src/org/traccar/protocol/MegastekProtocolDecoder.java
+++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java
@@ -348,7 +348,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder {
return Position.ALARM_GEOFENCE_EXIT;
}
}
- switch (value.toLowerCase()) {
+ switch (value) {
case "poweron":
return Position.ALARM_POWER_ON;
case "poweroff":