Skip to content

Commit

Permalink
set min java version to 11
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Dec 29, 2023
1 parent 113e018 commit 87d51bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,18 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<source>8</source>
<source>11</source>
<additionalOptions>-Xdoclint:none</additionalOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
<release>11</release>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ch/digitalfondue/vatchecker/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private static String prepareTemplate(Document document, Map<String, String> dat
return fromDocument(doc);
}

static final String textNode(Node node) {
private static String textNode(Node node) {
return node != null ? node.getTextContent() : null;
}

Expand Down

0 comments on commit 87d51bf

Please sign in to comment.