From af80c0a8ea1e59fbfafbfb11b003879e1d9a050b Mon Sep 17 00:00:00 2001
From: brutzman <brutzman@nps.edu>
Date: Sat, 29 Apr 2023 22:09:36 -0700
Subject: [PATCH] fix warnings

---
 .../src/OpenDis7Examples/ExampleTrackInterpolation.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java b/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java
index 5da68959db..087b3461b0 100644
--- a/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java
+++ b/examples/src/OpenDis7Examples/ExampleTrackInterpolation.java
@@ -11,6 +11,7 @@ import edu.nps.moves.dis7.enumerations.ForceID;
 import edu.nps.moves.dis7.pdus.EntityStatePdu;
 import edu.nps.moves.dis7.pdus.Pdu;
 import edu.nps.moves.dis7.pdus.Vector3Double;
+import edu.nps.moves.dis7.utilities.DisChannel;
 import edu.nps.moves.dis7.utilities.DisTime;
 import edu.nps.moves.dis7.utilities.stream.X3dCreateInterpolators;
 import edu.nps.moves.dis7.utilities.stream.X3dCreateLineSet;
@@ -163,7 +164,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram
                 if (disChannel.getPduRecorder().hasVerboseOutput())
                     System.out.println("sending PDUs for simulation step " + simulationLoopCount + ", monitor loopback to confirm sent");
                 disChannel.sendSinglePdu(espdu_1);
-                disChannel.sendCommentPdu(disChannel.COMMENTPDU_SIMULATION_TIMESTEP, narrativeMessage1, narrativeMessage2, narrativeMessage3);
+                disChannel.sendCommentPdu(DisChannel.COMMENTPDU_SIMULATION_TIMESTEP, narrativeMessage1, narrativeMessage2, narrativeMessage3);
                 if (disChannel.getPduRecorder().hasVerboseOutput())
                     System.out.println(disChannel.getTRACE_PREFIX() + "PDUs successfully sent for this loop");
                 pduSentList.add(espdu_1);
@@ -195,7 +196,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram
             System.out.println("=================================");
             
             narrativeMessage2 = "runSimulation() completed successfully"; // all done
-            disChannel.sendCommentPdu(disChannel.COMMENTPDU_NARRATIVE, narrativeMessage1, narrativeMessage2, narrativeMessage3);
+            disChannel.sendCommentPdu(DisChannel.COMMENTPDU_NARRATIVE, narrativeMessage1, narrativeMessage2, narrativeMessage3);
             if (disChannel.getPduRecorder().hasVerboseOutput())
                 disChannel.printlnTRACE("final CommentPdu successfully sent for simulation");
             // TODO simulation management PDUs
@@ -241,7 +242,7 @@ public class ExampleTrackInterpolation extends ExampleSimulationProgram
 
         thisProgram.disChannel.printlnTRACE("main() started...");
         
-        thisProgram.handleArgs (args); // process command-line invocation arguments
+        thisProgram.handleArguments (args); // process command-line invocation arguments
         
 //        thisProgram.disChannel.getPduRecorder().setVerbose(false);
 //        thisProgram.disChannel.setVerboseComments(false);
-- 
GitLab