diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-04 22:18:51 +0300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2016-08-04 22:18:51 +0300 |
commit | d4407022ef004e141374c542a511a6405aa17377 (patch) | |
tree | c14e876e422df4d1fa32e278225bb20559265746 /src | |
parent | c7675dbe4bafede36f540e2ee6fbe69f9b136e1c (diff) | |
download | traccar-server-d4407022ef004e141374c542a511a6405aa17377.tar.gz traccar-server-d4407022ef004e141374c542a511a6405aa17377.tar.bz2 traccar-server-d4407022ef004e141374c542a511a6405aa17377.zip |
Fix codestyle issue with if condition
Diffstat (limited to 'src')
-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 7d364d5e7..3f7e68b2a 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -79,8 +79,8 @@ public class MainEventHandler extends IdleStateAwareChannelHandler { Log.info(formatChannel(e.getChannel()) + " disconnected"); closeChannel(e.getChannel()); - if (ctx.getPipeline().get("httpDecoder") == null && - !(ctx.getPipeline().get("objectDecoder") instanceof TeltonikaProtocolDecoder)) { + if (ctx.getPipeline().get("httpDecoder") == null + && !(ctx.getPipeline().get("objectDecoder") instanceof TeltonikaProtocolDecoder)) { Context.getConnectionManager().removeActiveDevice(e.getChannel()); } } |