From 15b8fd481f2baeefd424f4ed7ab9a9fd2d34e56d Mon Sep 17 00:00:00 2001 From: brutzman <brutzman@nps.edu> Date: Thu, 30 Sep 2021 21:09:20 -0700 Subject: [PATCH] avoid packaging errors --- .../homework3/Schlessel/ExampleSimulationProgram.java | 2 +- .../homework3/Schlessel/SchlesselSimulationProgram.java | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/ExampleSimulationProgram.java b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/ExampleSimulationProgram.java index befe836808..180af60c39 100644 --- a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/ExampleSimulationProgram.java +++ b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/ExampleSimulationProgram.java @@ -3,7 +3,7 @@ * This work is provided under a BSD open-source license, see project license.html and license.txt * @author brutzman@nps.edu */ -package MV3500Cohort2021JulySeptember.homework3.Schlessel; +// package MV3500Cohort2021JulySeptember.homework3.Schlessel; import edu.nps.moves.dis7.entities.swe.platform.surface._001Poseidon; import edu.nps.moves.dis7.entities.swe.platform.surface._002Triton; diff --git a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/SchlesselSimulationProgram.java b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/SchlesselSimulationProgram.java index 554c282914..b351d4e5e7 100644 --- a/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/SchlesselSimulationProgram.java +++ b/assignments/src/MV3500Cohort2021JulySeptember/homework3/Schlessel/SchlesselSimulationProgram.java @@ -3,7 +3,7 @@ * This work is provided under a BSD open-source license, see project license.html and license.txt * @author max.schlessel@nps.edu */ -package MV3500Cohort2021JulySeptember.homework3.Schlessel; +// package MV3500Cohort2021JulySeptember.homework3.Schlessel; import edu.nps.moves.dis7.enumerations.*; // match any import edu.nps.moves.dis7.pdus.*; // match any of the PDU classes, easier than listing individually @@ -18,7 +18,7 @@ import java.util.logging.Logger; * that includes DIS-capable entities doing tasks and reporting them to the network. * Default settings include PDU recording turned on by default. */ -public class ExampleSimulationProgram +public class SchlesselSimulationProgram { private boolean verboseComments = true; static final String NETWORK_ADDRESS_DEFAULT = "239.1.2.3"; @@ -186,7 +186,7 @@ public class ExampleSimulationProgram * Constructor design goal: additional built-in initialization conveniences can go here * to keep student efforts focused on the runSimulation() method. */ - public ExampleSimulationProgram() + public SchlesselSimulationProgram() { // Constructor is under consideration. Constructor is not currently needed. } @@ -196,7 +196,7 @@ public class ExampleSimulationProgram * @param address network address to use * @param port corresponding network port to use */ - public ExampleSimulationProgram(String address, int port) + public SchlesselSimulationProgram(String address, int port) { setNetworkAddress(address); -- GitLab