aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/AisProtocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/AisProtocol.java')
-rw-r--r--src/org/traccar/protocol/AisProtocol.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/AisProtocol.java b/src/org/traccar/protocol/AisProtocol.java
index ff81db45c..c6ef3d175 100644
--- a/src/org/traccar/protocol/AisProtocol.java
+++ b/src/org/traccar/protocol/AisProtocol.java
@@ -33,8 +33,8 @@ public class AisProtocol extends BaseProtocol {
serverList.add(new TrackerServer(false, getName()) {
@Override
protected void addProtocolHandlers(PipelineBuilder pipeline) {
- pipeline.addLast("stringDecoder", new StringDecoder());
- pipeline.addLast("objectDecoder", new AisProtocolDecoder(AisProtocol.this));
+ pipeline.addLast(new StringDecoder());
+ pipeline.addLast(new AisProtocolDecoder(AisProtocol.this));
}
});
}