commit | b1e2ab76fc7bc6ca118eafe1003e51753a5e793b | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@onlab.us> | Mon Jun 30 11:01:31 2014 -0700 |
committer | Yuta HIGUCHI <y-higuchi@onlab.us> | Wed Jul 02 14:03:38 2014 -0700 |
tree | 0359090a362e16fdeb99c83e66a5abb125c92e2f | |
parent | 5c8cbebbdb21ed146b2be9f1c3b766f21f45d85f [diff] [blame] |
Rename #getNumber -> #getPortNumber - Part of ONOS-1564 Change-Id: I3c082c384564920c7b5baa8ba74a1cb534f64f6d
diff --git a/src/main/java/net/onrc/onos/core/util/SwitchPort.java b/src/main/java/net/onrc/onos/core/util/SwitchPort.java index c2079a0..b9e1964 100644 --- a/src/main/java/net/onrc/onos/core/util/SwitchPort.java +++ b/src/main/java/net/onrc/onos/core/util/SwitchPort.java
@@ -82,11 +82,11 @@ } /** - * Get the port value of the Switch-Port. + * Get the port number of the Switch-Port. * - * @return the port value of the Switch-Port. + * @return the port number of the Switch-Port. */ - public PortNumber getNumber() { + public PortNumber getPortNumber() { return port; }