forked from opentripplanner/OpenTripPlanner
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve mapping of primaries/secondaries
- Loading branch information
1 parent
6899268
commit 7e31651
Showing
4 changed files
with
56 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 7 additions & 8 deletions
15
src/ext/java/org/opentripplanner/ext/geocoder/LuceneStopCluster.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
package org.opentripplanner.ext.geocoder; | ||
|
||
import java.util.Collection; | ||
import javax.annotation.Nullable; | ||
import org.opentripplanner.transit.model.framework.FeedScopedId; | ||
import org.opentripplanner.framework.i18n.I18NString; | ||
|
||
/** | ||
* A package-private helper type for transporting data before serializing. | ||
*/ | ||
record LuceneStopCluster( | ||
FeedScopedId id, | ||
@Nullable String code, | ||
String name, | ||
StopCluster.Coordinate coordinate, | ||
String primaryId, | ||
Collection<String> secondaryIds, | ||
Collection<I18NString> names, | ||
Collection<String> modes, | ||
Collection<String> agencyIds | ||
) {} | ||
Collection<String> codes, | ||
StopCluster.Coordinate coordinate){ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters