commit | df826c931dd5483f21e8e451b845210271d406fc | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Thu Apr 10 14:51:12 2014 -0700 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Thu Apr 10 14:51:12 2014 -0700 |
tree | ca47aeda7cdc5cf3b0eaf15727575ebae5e2da7f | |
parent | 8861ea5e4668d6f16067f7858777b475894ba2dd [diff] |
Fix issues found by FindBugs: DM_NUMBER_CTOR http://findbugs.sourceforge.net/bugDescriptions.html#DM_NUMBER_CTOR Change-Id: I4c89b5a9b43fae0e36899d0e73c9f1ab7b1943d4
diff --git a/src/main/java/net/onrc/onos/core/linkdiscovery/NodePortTuple.java b/src/main/java/net/onrc/onos/core/linkdiscovery/NodePortTuple.java index c586ecc..4b44446 100644 --- a/src/main/java/net/onrc/onos/core/linkdiscovery/NodePortTuple.java +++ b/src/main/java/net/onrc/onos/core/linkdiscovery/NodePortTuple.java
@@ -55,7 +55,7 @@ } public String toString() { - return "[id=" + HexString.toHexString(nodeId) + ", port=" + new Short(portId) + "]"; + return "[id=" + HexString.toHexString(nodeId) + ", port=" + portId + "]"; } @Override