|
@@ -20,6 +20,10 @@ public final class PersonWarehouse {
|
20
|
20
|
private static final LoggerHandler loggerHandler = LoggerWarehouse.getLogger(PersonWarehouse.class);
|
21
|
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
|
27
|
public static void addPerson(Person person) {
|
24
|
28
|
loggerHandler.disbalePrinting();
|
25
|
29
|
loggerHandler.info("Registering a new person object to the person warehouse...");
|