diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-15 07:01:33 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-09-15 07:01:33 +1200 |
commit | a1fdcee9044fcf3114b24423242bdd5b7c0ee18f (patch) | |
tree | 15beeb4de0f239bc8fd1e3c1137f16f4c0378697 /src/org/traccar/protocol/CastelProtocol.java | |
parent | 49754dbd853cd35876d74d7d8781c97a3c1413f7 (diff) | |
download | trackermap-server-a1fdcee9044fcf3114b24423242bdd5b7c0ee18f.tar.gz trackermap-server-a1fdcee9044fcf3114b24423242bdd5b7c0ee18f.tar.bz2 trackermap-server-a1fdcee9044fcf3114b24423242bdd5b7c0ee18f.zip |
Remove unnecessary this-dot prefix
Diffstat (limited to 'src/org/traccar/protocol/CastelProtocol.java')
-rw-r--r-- | src/org/traccar/protocol/CastelProtocol.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/CastelProtocol.java b/src/org/traccar/protocol/CastelProtocol.java index 604ff4ecb..42f7cbb88 100644 --- a/src/org/traccar/protocol/CastelProtocol.java +++ b/src/org/traccar/protocol/CastelProtocol.java @@ -33,7 +33,7 @@ public class CastelProtocol extends BaseProtocol { @Override public void initTrackerServers(List<TrackerServer> serverList) { - TrackerServer server = new TrackerServer(new ServerBootstrap(), this.getName()) { + TrackerServer server = new TrackerServer(new ServerBootstrap(), getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("frameDecoder", new LengthFieldBasedFrameDecoder(1024, 2, 2, -4, 0)); @@ -43,7 +43,7 @@ public class CastelProtocol extends BaseProtocol { server.setEndianness(ByteOrder.LITTLE_ENDIAN); serverList.add(server); - server = new TrackerServer(new ConnectionlessBootstrap(), this.getName()) { + server = new TrackerServer(new ConnectionlessBootstrap(), getName()) { @Override protected void addSpecificHandlers(ChannelPipeline pipeline) { pipeline.addLast("objectDecoder", new CastelProtocolDecoder(CastelProtocol.this)); |