aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/Gps103ProtocolEncoder.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 11:40:11 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-13 11:40:11 +1300
commita66a9ceda2b87b054136d073a9db440c29810520 (patch)
treee50b2df35af2e4bb20a6d7c1bfca6b40fb350494 /src/org/traccar/protocol/Gps103ProtocolEncoder.java
parent8d1e3f1f7e35e5bc0c2898ca9c9d840ef9676cd8 (diff)
downloadtrackermap-server-a66a9ceda2b87b054136d073a9db440c29810520.tar.gz
trackermap-server-a66a9ceda2b87b054136d073a9db440c29810520.tar.bz2
trackermap-server-a66a9ceda2b87b054136d073a9db440c29810520.zip
Fix some minor check style issues
Diffstat (limited to 'src/org/traccar/protocol/Gps103ProtocolEncoder.java')
-rw-r--r--src/org/traccar/protocol/Gps103ProtocolEncoder.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/Gps103ProtocolEncoder.java b/src/org/traccar/protocol/Gps103ProtocolEncoder.java
index 2b17acb72..b9fb1126e 100644
--- a/src/org/traccar/protocol/Gps103ProtocolEncoder.java
+++ b/src/org/traccar/protocol/Gps103ProtocolEncoder.java
@@ -16,6 +16,7 @@
package org.traccar.protocol;
import org.traccar.StringProtocolEncoder;
+import org.traccar.helper.Log;
import org.traccar.model.Command;
public class Gps103ProtocolEncoder extends StringProtocolEncoder implements StringProtocolEncoder.ValueFormatter {
@@ -55,6 +56,10 @@ public class Gps103ProtocolEncoder extends StringProtocolEncoder implements Stri
return formatCommand(command, "**,imei:{%s},L", Command.KEY_UNIQUE_ID);
case Command.TYPE_ALARM_DISARM:
return formatCommand(command, "**,imei:{%s},M", Command.KEY_UNIQUE_ID);
+ default:
+ Log.warning(new UnsupportedOperationException(command.getType()));
+ break;
+
}
return null;