Skip to content

Commit c1b6018

Browse files
committed
Remove unnecessary blank lines
Remove blank lines flagged as 'not needed' in code review: - BuildCacheMojosExecutionStrategy.java: after restoreProjectArtifacts call - LifecyclePhasesHelper.java: after for loop opening brace Addresses: apache#394
1 parent bfb08fe commit c1b6018

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/main/java/org/apache/maven/buildcache/BuildCacheMojosExecutionStrategy.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ private CacheRestorationStatus restoreProject(
266266

267267
// Restore project artifacts
268268
ArtifactRestorationReport restorationReport = cacheController.restoreProjectArtifacts(cacheResult);
269-
270269
if (!restorationReport.isSuccess()) {
271270
LOGGER.info("Cannot restore project artifacts, continuing with non cached build");
272271
return restorationReport.isRestoredFilesInProjectDirectory()

src/main/java/org/apache/maven/buildcache/LifecyclePhasesHelper.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ private String resolveMojoExecutionLifecyclePhase(MavenProject project, MojoExec
182182
public List<MojoExecution> getCachedSegment(MavenProject project, List<MojoExecution> mojoExecutions, Build build) {
183183
List<MojoExecution> list = new ArrayList<>(mojoExecutions.size());
184184
for (MojoExecution mojoExecution : mojoExecutions) {
185-
186185
// if forked, take originating mojo as a lifecycle phase source
187186
String lifecyclePhase = resolveMojoExecutionLifecyclePhase(project, mojoExecution);
188187

0 commit comments

Comments
 (0)