diff --git a/booking/src/main/java/org/dcsa/conformance/standards/booking/model/PersistableCarrierBooking.java b/booking/src/main/java/org/dcsa/conformance/standards/booking/model/PersistableCarrierBooking.java index 4390b744..229ebfb5 100644 --- a/booking/src/main/java/org/dcsa/conformance/standards/booking/model/PersistableCarrierBooking.java +++ b/booking/src/main/java/org/dcsa/conformance/standards/booking/model/PersistableCarrierBooking.java @@ -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)) {