diff --git a/build.gradle b/build.gradle index 5cd2de53441..2ab2e09afbc 100644 --- a/build.gradle +++ b/build.gradle @@ -73,4 +73,4 @@ defaultTasks 'clean', 'test' run { enableAssertions = true -} +} \ No newline at end of file diff --git a/src/main/java/seedu/address/ui/AppointmentCard.java b/src/main/java/seedu/address/ui/AppointmentCard.java index fd462f7e85f..bf6251f8e90 100644 --- a/src/main/java/seedu/address/ui/AppointmentCard.java +++ b/src/main/java/seedu/address/ui/AppointmentCard.java @@ -14,7 +14,7 @@ public class AppointmentCard extends UiPart { private static final String FXML = "AppointmentListCard.fxml"; - public static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"); + private static final DateTimeFormatter FORMATTER = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"); /** * Note: Certain keywords such as "location" and "resources" are reserved keywords in JavaFX.