Leon преди 7 години
родител
ревизия
e45bc736cf
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4
    0
      src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java

+ 4
- 0
src/main/java/com/zipcodewilmington/streams/anthropoid/PersonWarehouse.java Целия файл

@@ -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...");