Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Sep 12, 2024
1 parent 2d11341 commit 6094e4a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ jobs:
name: Verify
uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4
with:
ff-maven: "4.0.0-beta-3" # Maven version for fail-fast-build
maven-matrix: '[ "4.0.0-beta-3" ]'
ff-maven: "4.0.0-beta-4" # Maven version for fail-fast-build
maven-matrix: '[ "4.0.0-beta-4" ]'
jdk-matrix: '[ "17", "21" ]'
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ under the License.

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<artifactId>junit-jupiter</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

import static org.apache.maven.internal.impl.StaxLocation.getLocation;
import static org.apache.maven.internal.impl.StaxLocation.getMessage;
import static org.apache.maven.xinclude.Utils.*;
import static org.apache.maven.xinclude.Utils.nonNull;

@Named
@Singleton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ public int next() throws XMLStreamException {
return event;
}

@SuppressWarnings({"checkstyle:MethodLength", "checkstyle:UnusedLocalVariable"})
private void processInclude() throws XMLStreamException {

Location startLocation = this.getLocation();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ private static class Scanner {
/**
* Scans the XPointer Expression
*/
@SuppressWarnings("checkstyle:MethodLength")
private static boolean scanExpr(Tokens tokens, String data, int currentOffset, int endOffset)
throws InvalidXPointerException {
int ch;
Expand Down

0 comments on commit 6094e4a

Please sign in to comment.