Skip to content
Snippets Groups Projects
Commit 17b75045 authored by Charlotte Corapi's avatar Charlotte Corapi
Browse files

Merge branch 'Progress' into 'master'

Final commit

See merge request cacorapi/traindispatchsystem!3
parents f4021fa6 817a835d
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ import java.time.LocalTime; ...@@ -12,6 +12,7 @@ import java.time.LocalTime;
* It also interacts with a {@see ValidityManager} for validation of input parameters * It also interacts with a {@see ValidityManager} for validation of input parameters
* and is used in the {@see TrainDepartureRegister} class where each instance of * and is used in the {@see TrainDepartureRegister} class where each instance of
* TrainDeparture is a registered departure. * TrainDeparture is a registered departure.
* GitHub Copilot used to generate parts of code - particularly getters and setters.
* </p> * </p>
* *
* @since 2.0 * @since 2.0
......
...@@ -14,6 +14,7 @@ import java.util.stream.Collectors; ...@@ -14,6 +14,7 @@ import java.util.stream.Collectors;
* from the HashMap, and for updating the delay and track of a train. Furthermore, the class is * from the HashMap, and for updating the delay and track of a train. Furthermore, the class is
* able to return a String representation of the HashMap, all the trains with a certain * able to return a String representation of the HashMap, all the trains with a certain
* destination, and a TrainDeparture object based on its train number. * destination, and a TrainDeparture object based on its train number.
* GitHub Copilot used to generate parts of code - particularly getters and setters.
* </p> * </p>
* <p> * <p>
* The class is also responsible for validating the parameters of the methods, and for creating * The class is also responsible for validating the parameters of the methods, and for creating
......
...@@ -9,6 +9,8 @@ import java.util.Scanner; ...@@ -9,6 +9,8 @@ import java.util.Scanner;
* Contains the menu and the main method. * Contains the menu and the main method.
* Starts the program. * Starts the program.
* *
* GitHub Copilot used to generate parts of code - particularly the structure for the switch-case.
*
* @since 2.3 * @since 2.3
* @version 3.3 * @version 3.3
* @author 10058 * @author 10058
......
...@@ -13,6 +13,8 @@ import java.util.Set; ...@@ -13,6 +13,8 @@ import java.util.Set;
* Class used to validate parameters in the {@see TrainDeparture} class. * Class used to validate parameters in the {@see TrainDeparture} class.
* Also used to store information about occupied tracks, train numbers and destinations. * Also used to store information about occupied tracks, train numbers and destinations.
* *
* GitHub Copilot used to generate structure of similar methods
*
* @since 2.3 * @since 2.3
* @version 3.3 * @version 3.3
* @see TrainDeparture * @see TrainDeparture
......
...@@ -14,6 +14,7 @@ import java.time.DateTimeException; ...@@ -14,6 +14,7 @@ import java.time.DateTimeException;
import java.time.LocalTime; import java.time.LocalTime;
/** Test class for TrainDepartureRegister. /** Test class for TrainDepartureRegister.
* GitHub Copilot used to generate structure of similar tests
* *
* @since 2.1 * @since 2.1
* @version 3.3 * @version 3.3
......
...@@ -14,6 +14,7 @@ import java.time.DateTimeException; ...@@ -14,6 +14,7 @@ import java.time.DateTimeException;
import java.time.LocalTime; import java.time.LocalTime;
/**Test class for the TrainDeparture class. /**Test class for the TrainDeparture class.
*GitHub Copilot used to generate structure of similar tests
* *
* @since 2.0 * @since 2.0
* @version 3.3 * @version 3.3
......
...@@ -15,6 +15,7 @@ import java.time.LocalTime; ...@@ -15,6 +15,7 @@ import java.time.LocalTime;
/** /**
* Test class for the ValidityManager class. * Test class for the ValidityManager class.
*GitHub Copilot used to generate structure of similar tests
* *
* @since 2.3 * @since 2.3
* @version 3.3 * @version 3.3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment