Skip to content

Commit

Permalink
Fixed property of Appointment
Browse files Browse the repository at this point in the history
  • Loading branch information
Nisheshg5 committed Jan 10, 2021
1 parent 741b19c commit 97fc885
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/hospital/model/Appointment.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public void setAppointID(String id) {
*
* @return SimpleStringProperty of {@code appointID}
*/
public SimpleStringProperty getAppointIDProperty() {
public SimpleStringProperty appointIDProperty() {
return appointID;
}

Expand All @@ -41,7 +41,7 @@ public void setPatientID(String id) {
*
* @return SimpleStringProperty of {@code patientID}
*/
public SimpleStringProperty getPatientIDProperty() {
public SimpleStringProperty patientIDProperty() {
return patientID;
}

Expand All @@ -58,7 +58,7 @@ public void setDoctorID(String id) {
*
* @return SimpleStringProperty of {@code doctorID}
*/
public SimpleStringProperty getDoctorIDProperty() {
public SimpleStringProperty doctorIDProperty() {
return doctorID;
}

Expand All @@ -75,7 +75,7 @@ public void setDate(LocalDate localDate) {
*
* @return SimpleObjectProperty of {@code localDate}
*/
public SimpleObjectProperty<LocalDate> getDateProperty() {
public SimpleObjectProperty<LocalDate> dateProperty() {
return date;
}
}
4 changes: 0 additions & 4 deletions src/hospital/ui/view/patient/PatientOverviewController.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package hospital.ui.view.patient;

import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

Expand Down Expand Up @@ -38,8 +36,6 @@
public class PatientOverviewController {

private ObservableList<Patient> patientList = FXCollections.observableArrayList();
Connection conn = Main.conn;
PreparedStatement statement = null;
ResultSet resultSet = null;

public PatientOverviewController() {
Expand Down

0 comments on commit 97fc885

Please sign in to comment.