Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Jan 8, 2025
1 parent 217c954 commit 94cb54a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.13.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>
</plugins>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private static Map evaluate(String prefix, List segments, Object context) {
} else if ((context instanceof List list) && Character.isDigit(segment.charAt(0))) {
try {
int index = Integer.parseInt(segment);
targets = Collections.singletonMap(segment, (list.get(index));
targets = Collections.singletonMap(segment, list.get(index));
} catch (RuntimeException e) {
// invalid index, just ignore
}
Expand Down

0 comments on commit 94cb54a

Please sign in to comment.