aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-01-13 01:28:32 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2017-01-13 00:28:32 +1300
commit8f9d700f49c1bb6d9136a2d206fd52edd639c17a (patch)
tree403b1da0d3667e5a0022aaae8757d78d8fccfacd /src
parent3533a7c9007c4ef4f761ff4d959e396b65a7b140 (diff)
downloadtraccar-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.tar.gz
traccar-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.tar.bz2
traccar-server-8f9d700f49c1bb6d9136a2d206fd52edd639c17a.zip
Fix a code style issue
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/MainEventHandler.java4
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());
}
}