File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
src/main/java/org/entur/netex/loader/parser Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 44
55 <groupId >org.entur</groupId >
66 <artifactId >netex-parser-java</artifactId >
7- <version >3.1.50 -SNAPSHOT</version >
7+ <version >4.0.0 -SNAPSHOT</version >
88
99 <name >netex-java-parser</name >
1010 <description >Library for parsing NeTEx files and looking up entities in an index.</description >
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