Erroneous update of ArrayList records when a new record is added
问题 I am trying to create a table of tasks and manipulate its contents. I am tackling with a bug I don't understand, and be very thankful for help. I applogoze for the length of the question, but trying to bring as much details as possible. The class tasksRepository stores the records, which are constructed in the class taskDef , as array list. The setTask () and getTask methods contains the add() and get() methods of the ArrayList class. The taskDef object's parameters are created using local