| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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());
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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());
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue