diff --git a/iidm/iidm-api/src/main/java/com/powsybl/iidm/network/tools/ConversionToolUtils.java b/iidm/iidm-api/src/main/java/com/powsybl/iidm/network/tools/ConversionToolUtils.java index ac0be44281e..53761a4bb80 100644 --- a/iidm/iidm-api/src/main/java/com/powsybl/iidm/network/tools/ConversionToolUtils.java +++ b/iidm/iidm-api/src/main/java/com/powsybl/iidm/network/tools/ConversionToolUtils.java @@ -16,6 +16,7 @@ import java.nio.file.Files; import java.util.Objects; import java.util.Properties; +import java.util.function.Supplier; /** * @author Miora Ralambotiana {@literal } @@ -84,7 +85,7 @@ public static Properties readProperties(CommandLine line, OptionType optionType, Properties properties = new Properties(); // Read the parameters file - String filename = line.getOptionValue(optionType.getLongOpt(), null); + String filename = line.getOptionValue(optionType.getLongOpt(), (Supplier) null); if (filename != null) { try (InputStream inputStream = Files.newInputStream(context.getFileSystem().getPath(filename))) { if (filename.endsWith(".xml")) { diff --git a/iidm/iidm-tck/src/test/java/com/powsybl/iidm/network/tck/AbstractNetworkTest.java b/iidm/iidm-tck/src/test/java/com/powsybl/iidm/network/tck/AbstractNetworkTest.java index a7633a0e192..12efd9b5235 100644 --- a/iidm/iidm-tck/src/test/java/com/powsybl/iidm/network/tck/AbstractNetworkTest.java +++ b/iidm/iidm-tck/src/test/java/com/powsybl/iidm/network/tck/AbstractNetworkTest.java @@ -25,6 +25,7 @@ import static org.assertj.core.api.Assertions.*; import static org.junit.jupiter.api.Assertions.*; +import static org.junit.jupiter.api.Assertions.fail; import static org.mockito.Mockito.*; /** diff --git a/pom.xml b/pom.xml index 1fe1d93124e..e352d8bdbb2 100644 --- a/pom.xml +++ b/pom.xml @@ -96,48 +96,52 @@ ../../../distribution-core/target/site/jacoco-aggregate/jacoco.xml - 3.25.3 + 3.26.0 1.1.1 - 1.5.0 - 1.26.0 + 1.8.0 + 1.26.2 2.10.1 2.16.1 3.14.0 3.6.1 - 1.10.0 + 1.12.0 0.43.1 + 3.0.1 3.0.2 1.47.1_1 + 1.0.12 - 4.0.14 - 33.1.0-jre - 2.17.0 - 2.17.0 + 4.0.21 + 33.2.1-jre + 2.17.1 + 2.17.1 1.0.3 1.5.2 1.3.0 5.10.2 1.5.6 3.8.5 - 3.9.0 + 3.13.0 0.5.15 - 5.11.0 - 2.4.0 - 5.2.3 + 5.12.0 + 2.5.0 + 5.2.5 4.3.2 1.0 2.0.13 2.2 20070216 4.3.4 - 1.19.7 - 1.7.2 + 1.19.8 + 1.8.0 + 3.0.3 + 2.9.0 2.10.0 1.9 - 1.5.5-5 + 1.5.6-3 1.3.1