diff --git a/src/main/java/org/apache/cassandra/locator/EndpointSnitchInfo.java b/src/main/java/org/apache/cassandra/locator/EndpointSnitchInfo.java index b34250e..b48e620 100644 --- a/src/main/java/org/apache/cassandra/locator/EndpointSnitchInfo.java +++ b/src/main/java/org/apache/cassandra/locator/EndpointSnitchInfo.java @@ -57,10 +57,11 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean { /** * Provides the Rack name depending on the respective snitch used, given the * host name/ip - * + * * @param host * @throws UnknownHostException */ + @Override public String getRack(String host) throws UnknownHostException { log("getRack(String host) throws UnknownHostException"); MultivaluedMap queryParams = new MultivaluedMapImpl(); @@ -74,10 +75,11 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean { /** * Provides the Datacenter name depending on the respective snitch used, * given the hostname/ip - * + * * @param host * @throws UnknownHostException */ + @Override public String getDatacenter(String host) throws UnknownHostException { log(" getDatacenter(String host) throws UnknownHostException"); MultivaluedMap queryParams = new MultivaluedMapImpl(); @@ -90,9 +92,10 @@ public class EndpointSnitchInfo implements EndpointSnitchInfoMBean { /** * Provides the snitch name of the cluster - * + * * @return Snitch name */ + @Override public String getSnitchName() { log(" getSnitchName()"); return c.getStringValue("/snitch/name");