diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-10 12:40:26 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2019-02-10 12:40:26 -0800 |
commit | a50b9a890aaf5a1388f84449cc2978d55328e874 (patch) | |
tree | bb0b22855cb7a868ff0acc23a1e466b1380163c9 /src/org/traccar | |
parent | 99cc5b5eb3226e03f95abee96505b0ff4ca31abb (diff) | |
download | trackermap-server-a50b9a890aaf5a1388f84449cc2978d55328e874.tar.gz trackermap-server-a50b9a890aaf5a1388f84449cc2978d55328e874.tar.bz2 trackermap-server-a50b9a890aaf5a1388f84449cc2978d55328e874.zip |
Remove unnecessary declarations
Diffstat (limited to 'src/org/traccar')
-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 c905508e0..75dafcc29 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -117,14 +117,14 @@ public class MainEventHandler extends ChannelInboundHandlerAdapter { } @Override - public void channelActive(ChannelHandlerContext ctx) throws Exception { + public void channelActive(ChannelHandlerContext ctx) { if (!(ctx.channel() instanceof DatagramChannel)) { LOGGER.info(formatChannel(ctx.channel()) + " connected"); } } @Override - public void channelInactive(ChannelHandlerContext ctx) throws Exception { + public void channelInactive(ChannelHandlerContext ctx) { LOGGER.info(formatChannel(ctx.channel()) + " disconnected"); closeChannel(ctx.channel()); |