Skip to content

Commit e7b357b

Browse files
committed
Reformat
1 parent 812cb9e commit e7b357b

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

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

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
import java.util.concurrent.ConcurrentHashMap;
2525
import java.util.concurrent.ConcurrentMap;
2626
import java.util.stream.Collectors;
27-
2827
import javax.annotation.Nonnull;
2928
import javax.annotation.PostConstruct;
3029
import javax.inject.Inject;
3130
import javax.inject.Named;
32-
3331
import org.apache.maven.SessionScoped;
3432
import org.apache.maven.buildcache.xml.Build;
3533
import org.apache.maven.execution.AbstractExecutionListener;
@@ -59,8 +57,8 @@ public class LifecyclePhasesHelper extends AbstractExecutionListener
5957

6058
@Inject
6159
public LifecyclePhasesHelper( MavenSession session,
62-
DefaultLifecycles defaultLifecycles,
63-
@Named( "clean" ) Lifecycle cleanLifecycle )
60+
DefaultLifecycles defaultLifecycles,
61+
@Named( "clean" ) Lifecycle cleanLifecycle )
6462
{
6563
this.session = session;
6664
this.defaultLifecycles = Objects.requireNonNull( defaultLifecycles );
@@ -162,9 +160,9 @@ public List<MojoExecution> getCleanSegment( MavenProject project, List<MojoExecu
162160
/**
163161
* Resolves lifecycle phase of a given mojo forks aware
164162
*
165-
* @param project - project context
166-
* @param mojoExecution - mojo to resolve lifecycle for
167-
* @return phase
163+
* @param project - project context
164+
* @param mojoExecution - mojo to resolve lifecycle for
165+
* @return phase
168166
*/
169167
private String resolveMojoExecutionLifecyclePhase( MavenProject project, MojoExecution mojoExecution )
170168
{
@@ -217,7 +215,7 @@ public List<MojoExecution> getCachedSegment( MavenProject project, List<MojoExec
217215
* Computes the list of mojos executions that will have to be executed after cache restoration.
218216
*/
219217
public List<MojoExecution> getPostCachedSegment( MavenProject project, List<MojoExecution> mojoExecutions,
220-
Build build )
218+
Build build )
221219
{
222220
List<MojoExecution> list = new ArrayList<>( mojoExecutions.size() );
223221
for ( MojoExecution mojoExecution : mojoExecutions )

0 commit comments

Comments
 (0)