Skip to content

Commit

Permalink
[ci] formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Sep 16, 2024
1 parent b07eb90 commit 6d0704a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ protected List<CoverageParser> createCoverageParsers(SourceLoader sourceLoader)

@Override
protected Environment createEnvironment() {
return new Environment(this, Collections.<ServiceSetup>emptyList());
return new Environment(this, Collections.<ServiceSetup> emptyList());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ void missingServices() {

@Test
void setupWithoutServices() {
create(Collections.<ServiceSetup>emptyList()).setup();
create(Collections.<ServiceSetup> emptyList()).setup();
assertEquals("service", mojo.serviceName);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class CoverageParsersFactoryTest {
void init() throws IOException {
reportingDir = Files.createDirectory(folder.resolve("reportingDir"));
targetDir = Files.createDirectory(folder.resolve("targetDir"));
lenient().when(projectMock.getCollectedProjects()).thenReturn(Collections.<MavenProject>emptyList());
lenient().when(projectMock.getCollectedProjects()).thenReturn(Collections.<MavenProject> emptyList());
lenient().when(projectMock.getModel()).thenReturn(modelMock);
lenient().when(projectMock.getBuild()).thenReturn(buildMock);
lenient().when(modelMock.getReporting()).thenReturn(reportingMock);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void init() throws IOException {
m1Sources = Files.createDirectory(rootSources.resolve("m1"));
m2Sources = Files.createDirectory(m1Sources.resolve("m2"));
lenient().when(root.getCollectedProjects()).thenReturn(Arrays.asList(m1, m2));
lenient().when(m1.getCollectedProjects()).thenReturn(Collections.<MavenProject>emptyList());
lenient().when(m2.getCollectedProjects()).thenReturn(Collections.<MavenProject>emptyList());
lenient().when(m1.getCollectedProjects()).thenReturn(Collections.<MavenProject> emptyList());
lenient().when(m2.getCollectedProjects()).thenReturn(Collections.<MavenProject> emptyList());
lenient().when(root.getCompileSourceRoots()).thenReturn(Arrays.asList(rootSources.toFile().getAbsolutePath()));
lenient().when(m1.getCompileSourceRoots()).thenReturn(Arrays.asList(m1Sources.toFile().getAbsolutePath()));
lenient().when(m2.getCompileSourceRoots()).thenReturn(Arrays.asList(m2Sources.toFile().getAbsolutePath()));
Expand Down

0 comments on commit 6d0704a

Please sign in to comment.