From 2ae3b010504aea0fd79a2aa05df8c3b1944680ac Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Wed, 25 May 2022 14:33:24 -0700 Subject: [PATCH] add comments --- examples/src/OpenDis7Examples/ExampleSimulationProgram.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java index 50e518ba30..a56f872dff 100644 --- a/examples/src/OpenDis7Examples/ExampleSimulationProgram.java +++ b/examples/src/OpenDis7Examples/ExampleSimulationProgram.java @@ -157,7 +157,7 @@ public class ExampleSimulationProgram // extends ChannelOpenDis7 // something happens between my simulation entities, la de da de da... System.out.println ("... My simulation just did something, no really..."); - System.out.flush(); + System.out.flush(); // make sure this arrives to user even if other threads somehow become deadlocked // make your reports: narrative code for CommentPdu here (set all to empty strings to avoid sending) @@ -318,7 +318,7 @@ public class ExampleSimulationProgram // extends ChannelOpenDis7 thisProgram.channelOpenDis7.setUpNetworkInterface(); -// thisProgram.pduRecorder.setDescriptor (TRACE_PREFIX.replace("[","").replace("]","") + " pduRecorder"); +// thisProgram.pduRecorder.setDescriptor (TRACE_PREFIX.replace("[","").replace("]","") + " pduRecorder"); // optional thisProgram.runSimulationLoops(); // ... your simulation execution code goes in there ... -- GitLab