aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2019-02-10 12:40:26 -0800
committerAnton Tananaev <anton.tananaev@gmail.com>2019-02-10 12:40:26 -0800
commita50b9a890aaf5a1388f84449cc2978d55328e874 (patch)
treebb0b22855cb7a868ff0acc23a1e466b1380163c9 /src/org/traccar
parent99cc5b5eb3226e03f95abee96505b0ff4ca31abb (diff)
downloadtrackermap-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.java4
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());