Skip to content

Commit

Permalink
Closes Taskana#2480: Update aspectj-maven-plugin configuration source…
Browse files Browse the repository at this point in the history
… to Java 17
  • Loading branch information
jamesrdi committed Jan 25, 2024
1 parent 725d3dc commit 2c82158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ private static void persistDynamicContainerChildren(
Iterable<DynamicNode> nodes, Map<String, List<DynamicNode>> childrenMap) {
nodes.forEach(
node -> {
if (node instanceof DynamicContainer) {
DynamicContainer container = (DynamicContainer) node;
if (node instanceof DynamicContainer container) {
List<DynamicNode> children = container.getChildren().collect(Collectors.toList());
childrenMap.put(container.hashCode() + container.getDisplayName(), children);
persistDynamicContainerChildren(children, childrenMap);
Expand Down
6 changes: 2 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@
<sonar.sources>src/main/java</sonar.sources>
<sonar.tests>src/test/java</sonar.tests>
<sonar.exclusions>
org/camunda/bpm/dmn/**/*,
**/example/**/*,
**/*Example*
org/camunda/bpm/dmn/**/*, **/example/**/*, **/*Example*
</sonar.exclusions>
</properties>

Expand Down Expand Up @@ -388,7 +386,7 @@
</dependencies>
<configuration>
<complianceLevel>${java.version}</complianceLevel>
<source>11</source>
<source>17</source>
<target>8</target>
<showWeaveInfo>false</showWeaveInfo>
<verbose>true</verbose>
Expand Down

0 comments on commit 2c82158

Please sign in to comment.