X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fsal%2Fapi%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fsal%2Fcore%2FNodeTable.java;h=349e68d98d56eb5bc99c58060973508cf24883c8;hb=refs%2Fchanges%2F34%2F4834%2F2;hp=7b7f1ccaeaf22f29dc4fa2a9c35b75854086b46f;hpb=c482b318eda18c6649b012c3b42e5004aace8db8;p=controller.git diff --git a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/NodeTable.java b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/NodeTable.java index 7b7f1ccaea..349e68d98d 100644 --- a/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/NodeTable.java +++ b/opendaylight/sal/api/src/main/java/org/opendaylight/controller/sal/core/NodeTable.java @@ -14,7 +14,6 @@ import java.util.concurrent.ConcurrentHashMap; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @@ -177,11 +176,12 @@ public class NodeTable implements Serializable { } /** - * @param type the nodeTableType to set - * * Private setter for nodeConnectorType to be called by JAXB not by anyone * else, NodeConnector is immutable + * + * @param type the nodeTableType to set */ + @SuppressWarnings("unused") private void setType(String type) { this.nodeTableType = type; if (this.nodeTableIDString != null) { @@ -292,7 +292,7 @@ public class NodeTable implements Serializable { } public String getNodeTableIdAsString() { - return this.nodeTableType.toString() + "|" + return this.nodeTableType + "|" + this.nodeTableID.toString(); }