aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 13:00:50 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-10-16 13:00:50 +1300
commit755f14aa9057144b550889303ce00c1d5b39f0e2 (patch)
treea81dd3ef1ddaa446790f9205ef6becce068576bf
parent421c13cf3aefeb0de6e057bf9d92ee4347d68f2f (diff)
downloadtrackermap-server-755f14aa9057144b550889303ce00c1d5b39f0e2.tar.gz
trackermap-server-755f14aa9057144b550889303ce00c1d5b39f0e2.tar.bz2
trackermap-server-755f14aa9057144b550889303ce00c1d5b39f0e2.zip
Remove unused method
-rw-r--r--src/org/traccar/BasePipelineFactory.java13
-rw-r--r--src/org/traccar/PipelineBuilder.java2
2 files changed, 0 insertions, 15 deletions
diff --git a/src/org/traccar/BasePipelineFactory.java b/src/org/traccar/BasePipelineFactory.java
index 3c309d224..ec935f5c9 100644
--- a/src/org/traccar/BasePipelineFactory.java
+++ b/src/org/traccar/BasePipelineFactory.java
@@ -265,19 +265,6 @@ public abstract class BasePipelineFactory extends ChannelInitializer<Channel> {
}
pipeline.addLast(handler);
}
-
- // TODO remove
- @Override
- public void addLast(String name, ChannelHandler handler) {
- if (!(handler instanceof BaseProtocolDecoder || handler instanceof BaseProtocolEncoder)) {
- if (handler instanceof ChannelInboundHandler) {
- handler = new WrapperInboundHandler((ChannelInboundHandler) handler);
- } else {
- handler = new WrapperOutboundHandler((ChannelOutboundHandler) handler);
- }
- }
- pipeline.addLast(name, handler);
- }
});
addHandlers(
diff --git a/src/org/traccar/PipelineBuilder.java b/src/org/traccar/PipelineBuilder.java
index ecf746843..3334040b1 100644
--- a/src/org/traccar/PipelineBuilder.java
+++ b/src/org/traccar/PipelineBuilder.java
@@ -21,6 +21,4 @@ public interface PipelineBuilder {
void addLast(ChannelHandler handler);
- void addLast(String name, ChannelHandler handler); // TODO remove
-
}