File tree Expand file tree Collapse file tree 2 files changed +5
-14
lines changed
src/main/java/org/entur/netex/loader/parser Expand file tree Collapse file tree 2 files changed +5
-14
lines changed Original file line number Diff line number Diff line change 5252 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5353 <jdk .version>17</jdk .version>
5454
55- <netex-java-model .version>2.0.15 </netex-java-model .version>
55+ <netex-java-model .version>2.0.16-SNAPSHOT </netex-java-model .version>
5656 <guava .version>32.1.3-jre</guava .version>
5757
5858 <nexus-staging-maven-plugin .version>1.6.13</nexus-staging-maven-plugin .version>
Original file line number Diff line number Diff line change @@ -117,19 +117,10 @@ private void parseJourneys(JourneysInFrame_RelStructure element) {
117117 serviceJourneys .add (serviceJourney );
118118 } else if (it instanceof DatedServiceJourney datedServiceJourney ) {
119119 datedServiceJourneys .add (datedServiceJourney );
120- datedServiceJourney
121- .getJourneyRef ()
122- .stream ()
123- .filter (journeyRef ->
124- journeyRef .getValue () instanceof ServiceJourneyRefStructure
125- )
126- .map (journeyRef -> journeyRef .getValue ().getRef ())
127- .forEach (serviceJourneyId ->
128- datedServiceJourneyByServiceJourneyId .put (
129- serviceJourneyId ,
130- datedServiceJourney
131- )
132- );
120+ datedServiceJourneyByServiceJourneyId .put (
121+ datedServiceJourney .getJourneyRef ().getValue ().getRef (),
122+ datedServiceJourney
123+ );
133124 } else if (it instanceof DeadRun deadRun ) {
134125 deadRuns .add (deadRun );
135126 } else {
You can’t perform that action at this time.
0 commit comments