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