aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 22:18:51 +0300
committerAnton Tananaev <anton.tananaev@gmail.com>2016-08-04 22:18:51 +0300
commitd4407022ef004e141374c542a511a6405aa17377 (patch)
treec14e876e422df4d1fa32e278225bb20559265746 /src/org/traccar
parentc7675dbe4bafede36f540e2ee6fbe69f9b136e1c (diff)
downloadtrackermap-server-d4407022ef004e141374c542a511a6405aa17377.tar.gz
trackermap-server-d4407022ef004e141374c542a511a6405aa17377.tar.bz2
trackermap-server-d4407022ef004e141374c542a511a6405aa17377.zip
Fix codestyle issue with if condition
Diffstat (limited to 'src/org/traccar')
-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 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());
}
}