diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-11-23 12:06:44 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-11-23 12:06:44 +0100 |
commit | f2a0dc1c2fb8f94ab2fc8120827f3738fbf9cdb6 (patch) | |
tree | 8ef9a1d00c96d8539349f37d30a06fb11bdc0f57 /infra/northbound/bgp/src/main | |
parent | f1c1e241b48997397616d9ac011647e2ac636397 (diff) |
Fix method/modifiers ordering to comply with JLS
Change-Id: I2b886a118ff5167df89a2922802b343ce5978c95
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/northbound/bgp/src/main')
-rw-r--r-- | infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java index 56a00ecb0..b651c4c0a 100644 --- a/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java +++ b/infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java @@ -23,18 +23,14 @@ import net.jmob.guice.conf.core.InjectConfig; import net.jmob.guice.conf.core.Syntax; /** - * This is the Java equivalent for bgp.json file. We use guice-config library to load all the config attributes - * into this class instance. + * This is the Java equivalent for bgp.json file. We use guice-config library to load all the config attributes into + * this class instance. * * The BindConfig annotation tells that bgp.json file should be looked up on classpath root. */ @BindConfig(value = "bgp", syntax = Syntax.JSON) public class BgpConfiguration { - public boolean isBgpMultiplePathsEnabled() { - return Boolean.valueOf(bgpMultiplePaths.get()); - } - @InjectConfig("bgp-binding-address") public Optional<String> bgpBindingAddress; @InjectConfig("bgp-port") @@ -51,6 +47,11 @@ public class BgpConfiguration { public Optional<String> bgpProtocolInstanceName; @InjectConfig("bgp-netty-threads") public Integer bgpNettyThreads; + + public boolean isBgpMultiplePathsEnabled() { + return Boolean.valueOf(bgpMultiplePaths.get()); + } + @Override public String toString() { return MoreObjects.toStringHelper(this) |