Skip to content

Commit

Permalink
docs: remove mention of priority
Browse files Browse the repository at this point in the history
  • Loading branch information
Martijn Bonajo committed Sep 6, 2024
1 parent b9f367d commit 55825f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/appointmentplanner/api/Appointment.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public interface Appointment extends TimeSlot {
AppointmentRequest request();

/**
* Override the default toString. toString() returns startTime, endTime,
* description and priority like: "2020-09-12 14:00 - 15:55 ALDA Lesson"
* Override the default toString. toString() returns startTime, endTime and description
* like: "2020-09-12 14:00 - 15:55 ALDA Lesson"
* This will make your testing and debugging life so much easier.
*
* @return String representation of Appointment.
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/appointmentplanner/api/AppointmentData.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* taking 45 minutes.
*
* Another example is having a treatment at a dentist or a beauty parlor. The
* duration, priority, and description are known, but there is no time or date
* duration and description are known, but there is no time or date
* allocated yet.
*
* @author Pieter van den Hombergh {@code [email protected]}
Expand All @@ -31,8 +31,7 @@ public interface AppointmentData {
String description();

/**
* Get the textual representation of AppointmentData. Contains description,
* duration and priority.
* Get the textual representation of AppointmentData. Contains description and duration.
*
* @return AppointmentData text.
*/
Expand Down

0 comments on commit 55825f4

Please sign in to comment.