#7: make lint executet
Some checks failed
Quality Check / Linting Check (push) Successful in 16s
Quality Check / Javadoc Check (push) Has been cancelled
Quality Check / Linting Check (pull_request) Successful in 20s
Quality Check / Javadoc Check (pull_request) Successful in 48s

This commit is contained in:
arminribic 2024-05-17 13:09:16 +02:00
parent 8219e24670
commit 7cacca89c5
3 changed files with 3 additions and 5 deletions

Binary file not shown.

View file

@ -1,11 +1,8 @@
package de.hitec.nhplus.treatment; package de.hitec.nhplus.treatment;
import de.hitec.nhplus.datastorage.DaoFactory; import de.hitec.nhplus.datastorage.DaoFactory;
import de.hitec.nhplus.nurse.LockedNurseController;
import de.hitec.nhplus.nurse.Nurse; import de.hitec.nhplus.nurse.Nurse;
import de.hitec.nhplus.nurse.database.NurseDao;
import de.hitec.nhplus.patient.Patient; import de.hitec.nhplus.patient.Patient;
import de.hitec.nhplus.patient.database.PatientDao;
import de.hitec.nhplus.treatment.database.TreatmentDao; import de.hitec.nhplus.treatment.database.TreatmentDao;
import de.hitec.nhplus.utils.DateConverter; import de.hitec.nhplus.utils.DateConverter;
import javafx.beans.property.SimpleStringProperty; import javafx.beans.property.SimpleStringProperty;
@ -66,7 +63,8 @@ public class LockedTreatmentController {
return new SimpleStringProperty(nurse.getSurName() + ", " + nurse.getFirstName()); return new SimpleStringProperty(nurse.getSurName() + ", " + nurse.getFirstName());
} }
); );
this.columnDeleteDate.setCellValueFactory(cellData -> new SimpleStringProperty(DateConverter.convertLocalDateToString(cellData.getValue().calculateDeleteDate()))); this.columnDeleteDate.setCellValueFactory(cellData -> new SimpleStringProperty(
DateConverter.convertLocalDateToString(cellData.getValue().calculateDeleteDate())));
this.tableView.setItems(this.treatments); this.tableView.setItems(this.treatments);