|
|
|
|
20
|
private static final LoggerHandler loggerHandler = LoggerWarehouse.getLogger(PersonWarehouse.class);
|
20
|
private static final LoggerHandler loggerHandler = LoggerWarehouse.getLogger(PersonWarehouse.class);
|
21
|
private static final ArrayList<Person> people = new ArrayList<>();
|
21
|
private static final ArrayList<Person> people = new ArrayList<>();
|
22
|
|
22
|
|
|
|
23
|
+ /**
|
|
|
24
|
+ * @param person the Person object to add to the warehouse
|
|
|
25
|
+ * @ATTENTION_TO_STUDENTS You are FORBIDDEN from modifying this method
|
|
|
26
|
+ */
|
23
|
public static void addPerson(Person person) {
|
27
|
public static void addPerson(Person person) {
|
24
|
loggerHandler.disbalePrinting();
|
28
|
loggerHandler.disbalePrinting();
|
25
|
loggerHandler.info("Registering a new person object to the person warehouse...");
|
29
|
loggerHandler.info("Registering a new person object to the person warehouse...");
|