Fixed small logger error

This commit is contained in:
Leonardo Brandenberger 2022-05-13 22:13:50 +02:00
parent 023cb5a99f
commit f94572c1fe
7 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ public class FactoryDecorator implements IsObservable {
private Pane pane;
private final List<IsObserver> listener = new ArrayList<>();
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(FactoryDecorator.class.getCanonicalName());
/**
* Setup of Factory Decorator with needed classes

View File

@ -13,7 +13,7 @@ public class Game implements Serializable {
private Place place;
private Game previousGame1, previousGame2;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Game.class.getCanonicalName());
/**
* Constructor to initialize a new game.

View File

@ -14,7 +14,7 @@ public class Person implements Serializable {
private String firstName;
private String phoneNumber;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Person.class.getCanonicalName());
/**

View File

@ -10,7 +10,7 @@ public class Place implements Serializable {
private final String NAME_MATCHING_REGEX = "[a-zA-Z0-9]{1,20}";
private String name;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Place.class.getCanonicalName());
/**
* Constructor of a place initializes it and checks if name is in valid format

View File

@ -12,7 +12,7 @@ public class Player extends Person implements Participant {
private LocalDate dateOfBirth;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Player.class.getCanonicalName());
/**
* Constructor of player initializes a new player setting sever attributes like firstname, name birthdate usw.

View File

@ -14,7 +14,7 @@ public class Team implements Participant {
private List<Player> players;
private Person contactPerson;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Team.class.getCanonicalName());
/**
* Constructor to initiate a team, sets its name

View File

@ -22,7 +22,7 @@ public class Tournament implements Serializable {
private final List<Place> places;
private List<List<Game>> gameList;
private static final Logger logger = Logger.getLogger(FileIO.class.getCanonicalName());
private static final Logger logger = Logger.getLogger(Tournament.class.getCanonicalName());
/**