Skip to content

Commit

Permalink
Update ANTLR version to 4.13.1 and Java to 17 (#88)
Browse files Browse the repository at this point in the history

---------

Co-authored-by: Josef Cacek <[email protected]>
  • Loading branch information
TomaszGaweda and kwart authored Jun 24, 2024
1 parent 84e312a commit d80b19b
Show file tree
Hide file tree
Showing 9 changed files with 457 additions and 259 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Apache Maven Central
uses: actions/setup-java@v3
with:
java-version: 8
java-version: 17
distribution: 'adopt'
cache: 'maven'

Expand Down
19 changes: 1 addition & 18 deletions jsurfer-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<artifactId>jsurfer-core</artifactId>

<properties>
<antlr.version>4.9.3</antlr.version>
<antlr.version>4.13.1</antlr.version>
</properties>

<profiles>
Expand Down Expand Up @@ -50,10 +50,6 @@

<build>
<plugins>
<!--<plugin>-->
<!--<groupId>org.codehaus.mojo</groupId>-->
<!--<artifactId>cobertura-maven-plugin</artifactId>-->
<!--</plugin>-->
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
Expand All @@ -72,19 +68,6 @@
</execution>
</executions>
</plugin>
<!--<plugin>-->
<!--<groupId>org.eluder.coveralls</groupId>-->
<!--<artifactId>coveralls-maven-plugin</artifactId>-->
<!--<version>3.1.0</version>-->
<!--<configuration>-->
<!--<repoToken>{coveralls.token}</repoToken>-->
<!--</configuration>-->
<!--</plugin>-->
<!--<plugin>-->
<!--<groupId>com.coverity</groupId>-->
<!--<artifactId>ondemand-maven-plugin</artifactId>-->
<!--<version>1.3.682</version>-->
<!--</plugin>-->
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated from JsonPath.g4 by ANTLR 4.9.3
// Generated from JsonPath.g4 by ANTLR 4.13.1

package org.jsfr.json.compiler;

Expand All @@ -12,6 +12,7 @@
* @param <T> The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
@SuppressWarnings("CheckReturnValue")
public class JsonPathBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements JsonPathVisitor<T> {
/**
* {@inheritDoc}
Expand Down

Large diffs are not rendered by default.

267 changes: 175 additions & 92 deletions jsurfer-core/src/main/java/org/jsfr/json/compiler/JsonPathLexer.java

Large diffs are not rendered by default.

Loading

0 comments on commit d80b19b

Please sign in to comment.