From d2b487f2fbc9349d0c54b8fbe14c9bcd8a1ddd24 Mon Sep 17 00:00:00 2001 From: Don Brutzman <brutzman@nps.edu> Date: Tue, 25 Aug 2020 23:15:22 -0700 Subject: [PATCH] renames for clarity --- test/edu/nps/moves/dis7/AllPduRoundTripTest.java | 4 ++-- test/edu/nps/moves/dis7/X3dInterpolatorsTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/edu/nps/moves/dis7/AllPduRoundTripTest.java b/test/edu/nps/moves/dis7/AllPduRoundTripTest.java index 20b81c146b..610734435c 100644 --- a/test/edu/nps/moves/dis7/AllPduRoundTripTest.java +++ b/test/edu/nps/moves/dis7/AllPduRoundTripTest.java @@ -190,7 +190,7 @@ public class AllPduRoundTripTest } }; disnetworking.addListener(lis); - System.out.println("Recorder log at " + recorder.getLogFile()); + System.out.println("Recorder log at " + recorder.getLogFilePath()); } /** Will shutdown the common send/receive network interface */ @@ -211,7 +211,7 @@ public class AllPduRoundTripTest private void getAllFromRecorder(Semaphore sem) throws Exception { sem.acquire(); - Path path = Path.of(recorder.getLogFile()).getParent(); + Path path = Path.of(recorder.getLogFilePath()).getParent(); PduPlayer player = new PduPlayer(disnetworking.getMcastGroup(), disnetworking.getDisPort(), path, false); player.addRawListener(ba -> { if (ba != null) { diff --git a/test/edu/nps/moves/dis7/X3dInterpolatorsTest.java b/test/edu/nps/moves/dis7/X3dInterpolatorsTest.java index 9e2515003f..9062781666 100644 --- a/test/edu/nps/moves/dis7/X3dInterpolatorsTest.java +++ b/test/edu/nps/moves/dis7/X3dInterpolatorsTest.java @@ -62,7 +62,7 @@ public class X3dInterpolatorsTest { Path path = Path.of("./pduLog"); // Note: the player will playback all log files in the given path - PduPlayer player = new PduPlayer(DisThreadedNetIF.DEFAULT_MCAST_GROUP, DisThreadedNetIF.DEFAULT_DIS_PORT, path, true); + PduPlayer player = new PduPlayer(DisThreadedNetIF.DEFAULT_MULTICAST_ADDRESS, DisThreadedNetIF.DEFAULT_DIS_PORT, path, true); player.addRawListener(ba -> { if (ba == null) { player.end(); -- GitLab