Skip to content

Commit

Permalink
Deprecate performSimpleStatusChange
Browse files Browse the repository at this point in the history
Signed-off-by: Niels Thykier <[email protected]>
  • Loading branch information
nt-gt committed Nov 30, 2023
1 parent 01afba4 commit 281eaa0
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ private void setReason(String reason) {
}
}

/**
* Replace this with a more concrete call (like confirmBooking()) when needed
*/
@Deprecated
public void performSimpleStatusChange(String reference, BookingState newState, String reason) {
// FIXME: Have logic for amendment vs. non-amendment states
if (NOT_APPLICABLE_FOR_SIMPLE_STATE_CHANGE.contains(newState)) {
Expand Down

0 comments on commit 281eaa0

Please sign in to comment.