This repository was archived by the owner on Feb 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
src/main/java/io/adminshell/aas/v3/dataformat/i4aas/parsers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060 <artifactId >maven-compiler-plugin</artifactId >
6161 <version >3.8.1</version >
6262 <configuration >
63- <source >11 </source >
64- <target >11 </target >
63+ <source >${maven.compiler.source} </source >
64+ <target >${maven.compiler.target} </target >
6565 </configuration >
6666 </plugin >
6767 <plugin >
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ public Optional<UANodeWrapper> getI4AASProperty(String filterName) {
196196 * matches the given type
197197 */
198198 public List <UANodeWrapper > getComponentsOfType (BasicIdentifier filterType ) {
199- return getComponents ().stream ().filter (c -> c .getType () == filterType ).toList ();
199+ return getComponents ().stream ().filter (c -> c .getType () == filterType ).collect ( Collectors . toList () );
200200 }
201201
202202 /**
@@ -205,7 +205,7 @@ public List<UANodeWrapper> getComponentsOfType(BasicIdentifier filterType) {
205205 * matches the given type
206206 */
207207 public List <UANodeWrapper > getPropertiesOfType (BasicIdentifier filterType ) {
208- return getProperties ().stream ().filter (c -> c .getType () == filterType ).toList ();
208+ return getProperties ().stream ().filter (c -> c .getType () == filterType ).collect ( Collectors . toList () );
209209 }
210210
211211 public UANode getNode () {
Original file line number Diff line number Diff line change 4141 <properties >
4242 <revision >1.0.2</revision >
4343 <model .version>${revision} </model .version>
44- <maven .compiler.source>1.8 </maven .compiler.source>
45- <maven .compiler.target>1.8 </maven .compiler.target>
44+ <maven .compiler.source>11 </maven .compiler.source>
45+ <maven .compiler.target>11 </maven .compiler.target>
4646 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
4747 <project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
4848 <plugin .flatten.version>1.2.2</plugin .flatten.version>
You can’t perform that action at this time.
0 commit comments