Skip to content
Snippets Groups Projects
Commit f5a8323c authored by terry-norbraten's avatar terry-norbraten
Browse files

pdu dup checking

parent 79710ae3
No related branches found
No related tags found
No related merge requests found
...@@ -156,7 +156,8 @@ public class SignalPdusTest { ...@@ -156,7 +156,8 @@ public class SignalPdusTest {
} }
private static void handleReceivedPdu(Pdu pdu) { private static void handleReceivedPdu(Pdu pdu) {
receivedPdus.add(pdu); if (!receivedPdus.contains(pdu))
receivedPdus.add(pdu);
} }
public static void main(String[] args) throws IOException, InterruptedException { public static void main(String[] args) throws IOException, InterruptedException {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment