From 5b2f8ed21244cddab25d897e573894a0def2eeaf Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Mon, 26 Feb 2024 11:09:46 -0300 Subject: [PATCH] Fix format --- src/test/java/io/fabric8/maven/MavenTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/io/fabric8/maven/MavenTest.java b/src/test/java/io/fabric8/maven/MavenTest.java index 1fecb7e..c25f56d 100644 --- a/src/test/java/io/fabric8/maven/MavenTest.java +++ b/src/test/java/io/fabric8/maven/MavenTest.java @@ -3,7 +3,6 @@ import static org.assertj.core.api.Assertions.assertThat; import java.io.File; -import java.io.FileReader; import java.io.IOException; import java.io.StringReader; import java.net.URL; @@ -199,7 +198,8 @@ void should_respect_insertion_order(@TempDir Path tempDir) throws Exception { Path updatedPom = tempDir.resolve("updated-pom.xml"); Files.copy(basePom, updatedPom); - Dependency dependency = model.getDependencies().stream().filter(d -> d.getArtifactId().equals("quarkus-junit5-internal")).findFirst().orElseThrow(); + Dependency dependency = model.getDependencies().stream() + .filter(d -> d.getArtifactId().equals("quarkus-junit5-internal")).findFirst().orElseThrow(); dependency.setVersion("1.0.0"); dependency.setOptional("true"); Maven.writeModel(model, updatedPom);