From 0970bfb9784f699fcc3b08f53338c0c646cfbd55 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Tue, 25 Feb 2020 08:52:20 +0100 Subject: [PATCH] Checkstyle --- src/edu/kit/informatik/model/FreightCoach.java | 6 ++++++ src/edu/kit/informatik/model/PassengerCoach.java | 6 ++++++ src/edu/kit/informatik/model/RailwayNetwork.java | 4 ++-- src/edu/kit/informatik/model/SpecialCoach.java | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/edu/kit/informatik/model/FreightCoach.java b/src/edu/kit/informatik/model/FreightCoach.java index f4aa56a..efc3fe5 100644 --- a/src/edu/kit/informatik/model/FreightCoach.java +++ b/src/edu/kit/informatik/model/FreightCoach.java @@ -2,6 +2,12 @@ package edu.kit.informatik.model; import edu.kit.informatik.ui.InvalidInputException; +/** + * A freight coach. + * + * @author Arne Keller + * @version 1.0 + */ public class FreightCoach extends Coach { /** * ASCII art representation of a freight coach. diff --git a/src/edu/kit/informatik/model/PassengerCoach.java b/src/edu/kit/informatik/model/PassengerCoach.java index 45106b1..82f1c17 100644 --- a/src/edu/kit/informatik/model/PassengerCoach.java +++ b/src/edu/kit/informatik/model/PassengerCoach.java @@ -2,6 +2,12 @@ package edu.kit.informatik.model; import edu.kit.informatik.ui.InvalidInputException; +/** + * A passenger coach. + * + * @author Arne Keller + * @version 1.0 + */ public class PassengerCoach extends Coach { /** * ASCII art representation of a passenger coach. diff --git a/src/edu/kit/informatik/model/RailwayNetwork.java b/src/edu/kit/informatik/model/RailwayNetwork.java index 9e20a7a..53be22b 100644 --- a/src/edu/kit/informatik/model/RailwayNetwork.java +++ b/src/edu/kit/informatik/model/RailwayNetwork.java @@ -164,8 +164,8 @@ public class RailwayNetwork { } /** - * Get a sorted list of all rails in the network, specifying their identifier, start and end points, their length and - * their current configuration. + * Get a sorted list of all rails in the network, specifying their identifier, start and end points, their length + * and their current configuration. * * @return list of rails */ diff --git a/src/edu/kit/informatik/model/SpecialCoach.java b/src/edu/kit/informatik/model/SpecialCoach.java index 63c6335..76c39f9 100644 --- a/src/edu/kit/informatik/model/SpecialCoach.java +++ b/src/edu/kit/informatik/model/SpecialCoach.java @@ -2,6 +2,12 @@ package edu.kit.informatik.model; import edu.kit.informatik.ui.InvalidInputException; +/** + * A special coach, used for e.g. firefighting. + * + * @author Arne Keller + * @version 1.0 + */ public class SpecialCoach extends Coach { /** * ASCII art represantation of a special coach.