Committed by
Gerrit Code Review
Remove methods deprecated in Drake from Instructions
Change-Id: I69ffc7fc30f20e0d968fe95b0cfcf609a0c7cc29
Showing
1 changed file
with
0 additions
and
52 deletions
... | @@ -430,19 +430,6 @@ public final class Instructions { | ... | @@ -430,19 +430,6 @@ public final class Instructions { |
430 | * | 430 | * |
431 | * @param port the TCP port number to modify to | 431 | * @param port the TCP port number to modify to |
432 | * @return a L4 modification | 432 | * @return a L4 modification |
433 | - * @deprecated in Drake release | ||
434 | - */ | ||
435 | - @Deprecated | ||
436 | - public static L4ModificationInstruction modTcpSrc(short port) { | ||
437 | - checkNotNull(port, "Src TCP port cannot be null"); | ||
438 | - return new ModTransportPortInstruction(L4SubType.TCP_SRC, TpPort.tpPort(port)); | ||
439 | - } | ||
440 | - | ||
441 | - /** | ||
442 | - * Creates a TCP src modification. | ||
443 | - * | ||
444 | - * @param port the TCP port number to modify to | ||
445 | - * @return a L4 modification | ||
446 | */ | 433 | */ |
447 | public static L4ModificationInstruction modTcpSrc(TpPort port) { | 434 | public static L4ModificationInstruction modTcpSrc(TpPort port) { |
448 | checkNotNull(port, "Src TCP port cannot be null"); | 435 | checkNotNull(port, "Src TCP port cannot be null"); |
... | @@ -454,19 +441,6 @@ public final class Instructions { | ... | @@ -454,19 +441,6 @@ public final class Instructions { |
454 | * | 441 | * |
455 | * @param port the TCP port number to modify to | 442 | * @param port the TCP port number to modify to |
456 | * @return a L4 modification | 443 | * @return a L4 modification |
457 | - * @deprecated in Drake release | ||
458 | - */ | ||
459 | - @Deprecated | ||
460 | - public static L4ModificationInstruction modTcpDst(short port) { | ||
461 | - checkNotNull(port, "Dst TCP port cannot be null"); | ||
462 | - return new ModTransportPortInstruction(L4SubType.TCP_DST, TpPort.tpPort(port)); | ||
463 | - } | ||
464 | - | ||
465 | - /** | ||
466 | - * Creates a TCP dst modification. | ||
467 | - * | ||
468 | - * @param port the TCP port number to modify to | ||
469 | - * @return a L4 modification | ||
470 | */ | 444 | */ |
471 | public static L4ModificationInstruction modTcpDst(TpPort port) { | 445 | public static L4ModificationInstruction modTcpDst(TpPort port) { |
472 | checkNotNull(port, "Dst TCP port cannot be null"); | 446 | checkNotNull(port, "Dst TCP port cannot be null"); |
... | @@ -478,19 +452,6 @@ public final class Instructions { | ... | @@ -478,19 +452,6 @@ public final class Instructions { |
478 | * | 452 | * |
479 | * @param port the UDP port number to modify to | 453 | * @param port the UDP port number to modify to |
480 | * @return a L4 modification | 454 | * @return a L4 modification |
481 | - * @deprecated in Drake release | ||
482 | - */ | ||
483 | - @Deprecated | ||
484 | - public static L4ModificationInstruction modUdpSrc(short port) { | ||
485 | - checkNotNull(port, "Src UDP port cannot be null"); | ||
486 | - return new ModTransportPortInstruction(L4SubType.UDP_SRC, TpPort.tpPort(port)); | ||
487 | - } | ||
488 | - | ||
489 | - /** | ||
490 | - * Creates a UDP src modification. | ||
491 | - * | ||
492 | - * @param port the UDP port number to modify to | ||
493 | - * @return a L4 modification | ||
494 | */ | 455 | */ |
495 | public static L4ModificationInstruction modUdpSrc(TpPort port) { | 456 | public static L4ModificationInstruction modUdpSrc(TpPort port) { |
496 | checkNotNull(port, "Src UDP port cannot be null"); | 457 | checkNotNull(port, "Src UDP port cannot be null"); |
... | @@ -502,19 +463,6 @@ public final class Instructions { | ... | @@ -502,19 +463,6 @@ public final class Instructions { |
502 | * | 463 | * |
503 | * @param port the UDP port number to modify to | 464 | * @param port the UDP port number to modify to |
504 | * @return a L4 modification | 465 | * @return a L4 modification |
505 | - * @deprecated in Drake release | ||
506 | - */ | ||
507 | - @Deprecated | ||
508 | - public static L4ModificationInstruction modUdpDst(short port) { | ||
509 | - checkNotNull(port, "Dst UDP port cannot be null"); | ||
510 | - return new ModTransportPortInstruction(L4SubType.UDP_DST, TpPort.tpPort(port)); | ||
511 | - } | ||
512 | - | ||
513 | - /** | ||
514 | - * Creates a UDP dst modification. | ||
515 | - * | ||
516 | - * @param port the UDP port number to modify to | ||
517 | - * @return a L4 modification | ||
518 | */ | 466 | */ |
519 | public static L4ModificationInstruction modUdpDst(TpPort port) { | 467 | public static L4ModificationInstruction modUdpDst(TpPort port) { |
520 | checkNotNull(port, "Dst UDP port cannot be null"); | 468 | checkNotNull(port, "Dst UDP port cannot be null"); | ... | ... |
-
Please register or login to post a comment