From 5b68fde15dd2dc45a6f6478f0b8e192b57728b04 Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 13 Mar 2016 16:16:13 +0100 Subject: [PATCH] Disabled warnings for ChannelActive when used via a LocalChannel --- .../registration/local/RegistrationLocalHandler.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dorkbox/network/connection/registration/local/RegistrationLocalHandler.java b/src/dorkbox/network/connection/registration/local/RegistrationLocalHandler.java index 79883580..8d591f5d 100644 --- a/src/dorkbox/network/connection/registration/local/RegistrationLocalHandler.java +++ b/src/dorkbox/network/connection/registration/local/RegistrationLocalHandler.java @@ -79,6 +79,12 @@ class RegistrationLocalHandler extends RegistrationHandler } } + @Override + public + void channelActive(ChannelHandlerContext context) throws Exception { + // not used (so we prevent the warnings from the super class) + } + // this SHOULDN'T ever happen, but we might shutdown in the middle of registration @Override public final