Skip to content

Commit d97a7a7

Browse files
Update comment
1 parent 7c62263 commit d97a7a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

application/src/main/java/org/opentripplanner/updater/trip/siri/CallWrapper.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
public interface CallWrapper {
2828
/**
2929
* Parse and validate all calls from an {@link EstimatedVehicleJourney}. Each call must have a
30-
* non-empty stop point ref and exactly one of Order or VisitNumber. All calls must use the same
31-
* strategy (all Order or all VisitNumber). The returned list is sorted by sort order.
30+
* non-empty stop point ref and at least one of Order or VisitNumber (Order is preferred when both
31+
* are present). All calls must use the same strategy (all Order or all VisitNumber). The returned
32+
* list is sorted by sort order.
3233
*
3334
* @return a successful sorted list of calls, or a failure with the appropriate error type
3435
*/

0 commit comments

Comments
 (0)