diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-13 01:28:32 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-01-13 00:28:32 +1300 |
commit | 8f9d700f49c1bb6d9136a2d206fd52edd639c17a (patch) | |
tree | 403b1da0d3667e5a0022aaae8757d78d8fccfacd /src/org | |
parent | 3533a7c9007c4ef4f761ff4d959e396b65a7b140 (diff) | |
download | trackermap-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.tar.gz trackermap-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.tar.bz2 trackermap-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.zip |
Fix a code style issue
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index d4bce37bf..a005ee44b 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -92,8 +92,8 @@ public class MainEventHandler extends IdleStateAwareChannelHandler { closeChannel(e.getChannel()); BaseProtocolDecoder protocolDecoder = (BaseProtocolDecoder) ctx.getPipeline().get("objectDecoder"); - if (ctx.getPipeline().get("httpDecoder") == null && - !connectionlessProtocols.contains(protocolDecoder.getProtocolName())) { + if (ctx.getPipeline().get("httpDecoder") == null + && !connectionlessProtocols.contains(protocolDecoder.getProtocolName())) { Context.getConnectionManager().removeActiveDevice(e.getChannel()); } } |