From 8f9d700f49c1bb6d9136a2d206fd52edd639c17a Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Fri, 13 Jan 2017 01:28:32 +1300 Subject: Fix a code style issue --- src/org/traccar/MainEventHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/org') 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()); } } -- cgit v1.2.3