From f5750f621c73d24c9e6a0958b6253a73be883265 Mon Sep 17 00:00:00 2001 From: "Ashmore, Michael (Capt)" <michael.ashmore@nps.edu> Date: Mon, 6 Jun 2022 11:48:52 -0700 Subject: [PATCH] Replace ExampleTrackInterpolationAshmore.java --- .../Ashmore/ExampleTrackInterpolationAshmore.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java index 0a2b26f9b1..f3d6e6258e 100644 --- a/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java +++ b/assignments/src/MV3500Cohort2022MayJune/homework2/Ashmore/ExampleTrackInterpolationAshmore.java @@ -183,7 +183,7 @@ public class ExampleTrackInterpolationAshmore extends ExampleSimulationProgramAs } catch (InterruptedException iex) // handle any exception that your code might choose to provoke! { - Logger.getLogger(ExampleTrackInterpolationDuran.class.getName()).log(Level.SEVERE, null, iex); + Logger.getLogger(ExampleTrackInterpolationAshmore.class.getName()).log(Level.SEVERE, null, iex); } } @@ -194,7 +194,7 @@ public class ExampleTrackInterpolationAshmore extends ExampleSimulationProgramAs * @param directionEntity current direction * @return same object to permit progressive setters */ - public ExampleTrackInterpolationDuran reportPdu(int simulationLoopCount, Vector3Double location, EntityStatePdu.Direction directionEntity) + public ExampleTrackInterpolationAshmore reportPdu(int simulationLoopCount, Vector3Double location, EntityStatePdu.Direction directionEntity) { System.out.println (String.format("%2d ", simulationLoopCount) + "Entity location=(" + String.format("%4.1f", location.getX()) + ", " + @@ -218,11 +218,11 @@ public class ExampleTrackInterpolationAshmore extends ExampleSimulationProgramAs */ public static void main(String[] args) { - TRACE_PREFIX = "[" + ExampleTrackInterpolationDuran.class.getName() + "] "; + TRACE_PREFIX = "[" + ExampleTrackInterpolationAshmore.class.getName() + "] "; System.out.println(TRACE_PREFIX + "main() started..."); - thisProgram = new ExampleTrackInterpolationDuran(); // creates instance of self within static main() method + thisProgram = new ExampleTrackInterpolationAshmore(); // creates instance of self within static main() method thisProgram.handleArgs (args); // process command-line invocation arguments -- GitLab