Revert addition of unnecessary PortNumber instantiation method
Change-Id: I8aa6413b4546dff159a189e4395d777aec698bf9
diff --git a/core/api/src/main/java/org/onosproject/net/PortNumber.java b/core/api/src/main/java/org/onosproject/net/PortNumber.java
index 1de463b..18f822c 100644
--- a/core/api/src/main/java/org/onosproject/net/PortNumber.java
+++ b/core/api/src/main/java/org/onosproject/net/PortNumber.java
@@ -96,17 +96,6 @@
}
/**
- * Returns the port number representing the specified long value and name.
- *
- * @param number port number as string value
- * @param name port name as string value
- * @return port number
- */
- public static PortNumber portNumber(String number, String name) {
- return new PortNumber(UnsignedLongs.decode(number), name);
- }
-
- /**
* Indicates whether or not this port number is a reserved logical one or
* whether it corresponds to a normal physical port of a device or NIC.
*