Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Feb 26, 2024
1 parent 3c239ab commit 5b2f8ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/fabric8/maven/MavenTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 5b2f8ed

Please sign in to comment.