Skip to content

Commit 5176d6e

Browse files
Add comment
1 parent fef8b6e commit 5176d6e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

application/src/main/java/org/opentripplanner/updater/trip/gtfs/DuplicatedTripHandler.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ class DuplicatedTripHandler {
3737

3838
UpdateSuccess handleDuplicated(TripUpdate tripUpdate, UpdateIncrementality updateIncrementality)
3939
throws UpdateException {
40+
// out of precaution we don't allow the combination of differential and DUPLICATED
41+
// it's not clear what the semantics of this would be and particular how cancellation of a
42+
// duplicated trip would work.
43+
// please get in touch with the dev team if you need this functionality.
4044
if (updateIncrementality == UpdateIncrementality.DIFFERENTIAL) {
4145
throw UpdateException.of(tripUpdate.tripId(), NOT_IMPLEMENTED_DIFFERENTIAL_DUPLICATED);
4246
}

0 commit comments

Comments
 (0)