Remove deprecated method
Change-Id: I39b027ef07afe7629f882fc9ccb02d5aabdd5710
Showing
1 changed file
with
0 additions
and
15 deletions
... | @@ -303,21 +303,6 @@ public final class Instructions { | ... | @@ -303,21 +303,6 @@ public final class Instructions { |
303 | * | 303 | * |
304 | * @param etherType Ethernet type to set | 304 | * @param etherType Ethernet type to set |
305 | * @return a L2 modification. | 305 | * @return a L2 modification. |
306 | - * @deprecated in Cardinal Release | ||
307 | - */ | ||
308 | - @Deprecated | ||
309 | - public static Instruction popMpls(int etherType) { | ||
310 | - checkNotNull(etherType, "Ethernet type cannot be null"); | ||
311 | - return new L2ModificationInstruction.PushHeaderInstructions( | ||
312 | - L2ModificationInstruction.L2SubType.MPLS_POP, new EthType(etherType)); | ||
313 | - } | ||
314 | - | ||
315 | - | ||
316 | - /** | ||
317 | - * Creates a pop MPLS header instruction with a particular ethertype. | ||
318 | - * | ||
319 | - * @param etherType Ethernet type to set | ||
320 | - * @return a L2 modification. | ||
321 | */ | 306 | */ |
322 | public static Instruction popMpls(EthType etherType) { | 307 | public static Instruction popMpls(EthType etherType) { |
323 | checkNotNull(etherType, "Ethernet type cannot be null"); | 308 | checkNotNull(etherType, "Ethernet type cannot be null"); | ... | ... |
-
Please register or login to post a comment