Skip to content

Commit 70e3a02

Browse files
author
Emil Gustafsson
committed
format
Signed-off-by: Emil Gustafsson <[email protected]>
1 parent 598e91a commit 70e3a02

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

src/e2e-test/java/com/cisco/trex/stateless/TRexClientTest.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,9 +678,7 @@ private static EthernetPacket buildIdealPkt(String pkt) {
678678

679679
@AfterClass
680680
public static void tierDown() {
681-
client
682-
.getPorts()
683-
.stream()
681+
client.getPorts().stream()
684682
.forEach(
685683
port -> {
686684
client.stopTraffic(port.getIndex());
@@ -693,9 +691,7 @@ public static void tierDown() {
693691
@After
694692
public void tearDownMethod() {
695693
client.removeAllCaptures();
696-
client
697-
.getPorts()
698-
.stream()
694+
client.getPorts().stream()
699695
.forEach(
700696
port -> {
701697
client.stopTraffic(port.getIndex());

src/main/java/com/cisco/trex/stateless/IPv6NeighborDiscoveryService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ public Map<String, Ipv6Node> scan(int portIdx, int timeDuration, String dstIP, S
123123
icmpNAReplies.addAll(tRexClient.getRxQueue(portIdx, ipV6NAPktFilter));
124124
}
125125
tRexClient.removeRxQueue(portIdx);
126-
return icmpNAReplies
127-
.stream()
126+
return icmpNAReplies.stream()
128127
.map(this::toIpv6Node)
129128
.distinct()
130129
.filter(

0 commit comments

Comments
 (0)