From 87d51bfd26c21e957f2417e577f29fdc5d9e8673 Mon Sep 17 00:00:00 2001 From: Sylvain Jermini Date: Fri, 29 Dec 2023 11:42:42 +0100 Subject: [PATCH] set min java version to 11 --- pom.xml | 9 ++++++--- src/main/java/ch/digitalfondue/vatchecker/Utils.java | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 9aab07e..c34c7e8 100644 --- a/pom.xml +++ b/pom.xml @@ -103,15 +103,18 @@ maven-javadoc-plugin 3.2.0 - 8 + 11 + -Xdoclint:none org.apache.maven.plugins maven-compiler-plugin + 3.10.1 - 1.8 - 1.8 + 11 + 11 + 11 diff --git a/src/main/java/ch/digitalfondue/vatchecker/Utils.java b/src/main/java/ch/digitalfondue/vatchecker/Utils.java index 3a9f4a4..6408d6e 100644 --- a/src/main/java/ch/digitalfondue/vatchecker/Utils.java +++ b/src/main/java/ch/digitalfondue/vatchecker/Utils.java @@ -152,7 +152,7 @@ private static String prepareTemplate(Document document, Map dat return fromDocument(doc); } - static final String textNode(Node node) { + private static String textNode(Node node) { return node != null ? node.getTextContent() : null; }