aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-05-16 11:33:36 +0500
committerAbyss777 <abyss@fox5.ru>2016-05-16 11:33:36 +0500
commit1df49e504686ba324b9d31aba9d730ab6bf8bf33 (patch)
tree51f393169d75de6e6e25279383ad5dfc8a2385a3 /src
parent79fd341d2ee1d6ff2ce9139e84dab0ad6820a1ec (diff)
downloadtraccar-server-1df49e504686ba324b9d31aba9d730ab6bf8bf33.tar.gz
traccar-server-1df49e504686ba324b9d31aba9d730ab6bf8bf33.tar.bz2
traccar-server-1df49e504686ba324b9d31aba9d730ab6bf8bf33.zip
Removed unnecessary TYPE_CUSTOM implementation
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/WondexProtocol.java3
-rw-r--r--src/org/traccar/protocol/WondexProtocolEncoder.java2
2 files changed, 1 insertions, 4 deletions
diff --git a/src/org/traccar/protocol/WondexProtocol.java b/src/org/traccar/protocol/WondexProtocol.java
index 574b36e6d..0049429b7 100644
--- a/src/org/traccar/protocol/WondexProtocol.java
+++ b/src/org/traccar/protocol/WondexProtocol.java
@@ -32,8 +32,7 @@ public class WondexProtocol extends BaseProtocol {
super("wondex");
setSupportedCommands(
Command.TYPE_REBOOT_DEVICE,
- Command.TYPE_POSITION_SINGLE,
- Command.TYPE_CUSTOM);
+ Command.TYPE_POSITION_SINGLE);
}
@Override
diff --git a/src/org/traccar/protocol/WondexProtocolEncoder.java b/src/org/traccar/protocol/WondexProtocolEncoder.java
index 83db4ecda..628546760 100644
--- a/src/org/traccar/protocol/WondexProtocolEncoder.java
+++ b/src/org/traccar/protocol/WondexProtocolEncoder.java
@@ -16,8 +16,6 @@ public class WondexProtocolEncoder extends StringProtocolEncoder {
return formatCommand(command, "$WP+REBOOT={%s}", Command.KEY_DEVICE_PASSWORD);
case Command.TYPE_POSITION_SINGLE:
return formatCommand(command, "$WP+GETLOCATION={%s}", Command.KEY_DEVICE_PASSWORD);
- case Command.TYPE_CUSTOM:
- return formatCommand(command, Command.KEY_DATA);
default:
Log.warning(new UnsupportedOperationException(command.getType()));
break;