refactor(model): rename currentCollection to mainCollection
This commit is contained in:
@@ -6,22 +6,22 @@ import ru.project.student.Student;
|
|||||||
|
|
||||||
public class AppState {
|
public class AppState {
|
||||||
|
|
||||||
private MyList<Student> currentCollection;
|
private MyList<Student> mainCollection;
|
||||||
private MyList<Student> customDataCollection;
|
private MyList<Student> customDataCollection;
|
||||||
private String currentFilePath;
|
private String currentFilePath;
|
||||||
|
|
||||||
public AppState() {
|
public AppState() {
|
||||||
this.currentCollection = new MyLinkedList<>();
|
this.mainCollection = new MyLinkedList<>();
|
||||||
this.customDataCollection = new MyLinkedList<>();
|
this.customDataCollection = new MyLinkedList<>();
|
||||||
this.currentFilePath = null;
|
this.currentFilePath = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyList<Student> getCurrentCollection() {
|
public MyList<Student> getMainCollection() {
|
||||||
return currentCollection;
|
return mainCollection;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCurrentCollection(MyList<Student> currentCollection) {
|
public void setMainCollection(MyList<Student> currentCollection) {
|
||||||
this.currentCollection = currentCollection;
|
this.mainCollection = currentCollection;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MyList<Student> getCustomDataCollection() {
|
public MyList<Student> getCustomDataCollection() {
|
||||||
|
|||||||
Reference in New Issue
Block a user