diff --git a/app/src/main/java/ru/project/model/AppState.java b/app/src/main/java/ru/project/model/AppState.java index e430057..375877e 100644 --- a/app/src/main/java/ru/project/model/AppState.java +++ b/app/src/main/java/ru/project/model/AppState.java @@ -6,22 +6,22 @@ import ru.project.student.Student; public class AppState { - private MyList currentCollection; + private MyList mainCollection; private MyList customDataCollection; private String currentFilePath; public AppState() { - this.currentCollection = new MyLinkedList<>(); + this.mainCollection = new MyLinkedList<>(); this.customDataCollection = new MyLinkedList<>(); this.currentFilePath = null; } - public MyList getCurrentCollection() { - return currentCollection; + public MyList getMainCollection() { + return mainCollection; } - public void setCurrentCollection(MyList currentCollection) { - this.currentCollection = currentCollection; + public void setMainCollection(MyList currentCollection) { + this.mainCollection = currentCollection; } public MyList getCustomDataCollection() {