aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/BaseProtocol.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-17 22:41:03 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-17 22:41:03 +1200
commitfaaf63abdd81d1d4b6e7c7a8ef36e049fdc8000a (patch)
tree66f1b1522dda364281824be8f35b899b3f36ee16 /src/org/traccar/BaseProtocol.java
parent51d4e557703a0322b983a8b294f2a8c6920718c5 (diff)
downloadtrackermap-server-faaf63abdd81d1d4b6e7c7a8ef36e049fdc8000a.tar.gz
trackermap-server-faaf63abdd81d1d4b6e7c7a8ef36e049fdc8000a.tar.bz2
trackermap-server-faaf63abdd81d1d4b6e7c7a8ef36e049fdc8000a.zip
Finish with GPS103 commands
Diffstat (limited to 'src/org/traccar/BaseProtocol.java')
-rw-r--r--src/org/traccar/BaseProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/BaseProtocol.java b/src/org/traccar/BaseProtocol.java
index 31f278739..aa98d776c 100644
--- a/src/org/traccar/BaseProtocol.java
+++ b/src/org/traccar/BaseProtocol.java
@@ -42,7 +42,7 @@ public abstract class BaseProtocol implements Protocol {
@Override
public void sendCommand(ActiveDevice activeDevice, Command command) {
if (!supportedCommands.contains(command.getType())) {
- throw new RuntimeException("Command " + command + " is not supported in protocol " + this.getName());
+ throw new RuntimeException("Command " + command + " is not supported in protocol " + getName());
}
activeDevice.write(command);
}