diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-11-22 11:17:15 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-11-22 11:17:17 +0100 |
commit | 0827063002d7fc50b787f1e5f6bbbbdc09802787 (patch) | |
tree | d3eb2daea6d3ef1491c8f6be88c7b20cdad8f30d /infra/northbound/bgp/src | |
parent | 564ba4dc10dcde369ee4f76055c1bd8ab6cfbad9 (diff) |
Add missing @Override annotations
Fix isses reported by Sonar
thanks to IntelliJ's code inspection.
Change-Id: Ief7b4307d4b90e107f010d7feaa307776afaf947
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/northbound/bgp/src')
4 files changed, 4 insertions, 0 deletions
diff --git a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfigurationModule.java b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfigurationModule.java index 0efe7a12a..7f94682e2 100644 --- a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfigurationModule.java +++ b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfigurationModule.java @@ -24,6 +24,7 @@ import net.jmob.guice.conf.core.ConfigurationModule; */ final class BgpConfigurationModule extends AbstractModule { + @Override protected void configure() { install(ConfigurationModule.create()); // Inject non-dependency configuration diff --git a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java index 943a57e1a..6aab7c6ca 100644 --- a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java +++ b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java @@ -41,6 +41,7 @@ public final class BgpModule extends PrivateModule { static final String HONEYCOMB_BGP = "honeycomb-bgp"; + @Override protected void configure() { LOG.debug("Initializing BgpModule"); // Create BGPDispatcher BGPDispatcher for creating BGP clients diff --git a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpReadersModule.java b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpReadersModule.java index 1dc1359c7..5caf315b8 100644 --- a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpReadersModule.java +++ b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpReadersModule.java @@ -26,6 +26,7 @@ import org.slf4j.LoggerFactory; public final class BgpReadersModule extends AbstractModule { private static final Logger LOG = LoggerFactory.getLogger(BgpReadersModule.class); + @Override protected void configure() { LOG.debug("Initializing BgpReadersModule"); // This should be part of BgpModule, but that one is Private and Multibinders + private BASE_MODULES diff --git a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java index fca58b6f2..8a9062949 100644 --- a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java +++ b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java @@ -34,6 +34,7 @@ import org.slf4j.LoggerFactory; public final class BgpWritersModule extends AbstractModule { private static final Logger LOG = LoggerFactory.getLogger(BgpWritersModule.class); + @Override protected void configure() { LOG.debug("Initializing BgpWritersModule"); // This should be part of BgpModule, but that one is Private and Multibinders + private BASE_MODULES |