Committed by
Gerrit Code Review
Revert addition of unnecessary PortNumber instantiation method
Change-Id: I8aa6413b4546dff159a189e4395d777aec698bf9
Showing
1 changed file
with
0 additions
and
11 deletions
| ... | @@ -96,17 +96,6 @@ public final class PortNumber { | ... | @@ -96,17 +96,6 @@ public final class PortNumber { |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | /** | 98 | /** |
| 99 | - * Returns the port number representing the specified long value and name. | ||
| 100 | - * | ||
| 101 | - * @param number port number as string value | ||
| 102 | - * @param name port name as string value | ||
| 103 | - * @return port number | ||
| 104 | - */ | ||
| 105 | - public static PortNumber portNumber(String number, String name) { | ||
| 106 | - return new PortNumber(UnsignedLongs.decode(number), name); | ||
| 107 | - } | ||
| 108 | - | ||
| 109 | - /** | ||
| 110 | * Indicates whether or not this port number is a reserved logical one or | 99 | * Indicates whether or not this port number is a reserved logical one or |
| 111 | * whether it corresponds to a normal physical port of a device or NIC. | 100 | * whether it corresponds to a normal physical port of a device or NIC. |
| 112 | * | 101 | * | ... | ... |
-
Please register or login to post a comment