Skip to content
Snippets Groups Projects
Commit f7b9c1e2 authored by brutzman's avatar brutzman
Browse files

fix imports with new build

parent b1e1210a
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
*/ */
package MV3500Cohort2019JulySeptember.homework4.Fetterolf; package MV3500Cohort2019JulySeptember.homework4.Fetterolf;
import edu.nps.moves.dis7.util.playerrecorder.Recorder; import edu.nps.moves.dis7.utilities.stream.PduRecorder;
import java.io.IOException; import java.io.IOException;
import java.util.Scanner; import java.util.Scanner;
...@@ -51,7 +51,7 @@ public class FetterolfPduListenerSaver { ...@@ -51,7 +51,7 @@ public class FetterolfPduListenerSaver {
System.out.println("Beginning pdu save to directory " + outDir); System.out.println("Beginning pdu save to directory " + outDir);
try { try {
Recorder recorder = new Recorder(outDir, mcast, port); PduRecorder recorder = new PduRecorder(outDir, mcast, port);
recorder.startResume(); recorder.startResume();
mystate state = mystate.RUNNING; mystate state = mystate.RUNNING;
...@@ -76,8 +76,8 @@ public class FetterolfPduListenerSaver { ...@@ -76,8 +76,8 @@ public class FetterolfPduListenerSaver {
break; break;
} }
} }
System.out.println("Ending pdu save to " + recorder.getLogFile()); System.out.println("Ending pdu save to " + recorder.getLogFilePath());
} catch (Exception ex) { } catch (IOException ex) {
System.err.println("*** Exception: " + ex.getClass().getSimpleName() + ": " + ex.getLocalizedMessage()); System.err.println("*** Exception: " + ex.getClass().getSimpleName() + ": " + ex.getLocalizedMessage());
} }
} }
......
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