[MNG-5702] Wrong reactor summary output while using -T option

Fixed checkstyle reported errors.
This commit is contained in:
Karl Heinz Marbaise 2014-12-31 11:34:27 +01:00
parent cb91332d3d
commit 6f0318ed68
1 changed files with 3 additions and 2 deletions

View File

@ -40,7 +40,8 @@ public class DefaultMavenExecutionResult
private List<Throwable> exceptions = new CopyOnWriteArrayList<Throwable>();
private Map<MavenProject, BuildSummary> buildSummaries = Collections.synchronizedMap(new IdentityHashMap<MavenProject, BuildSummary>());
private Map<MavenProject, BuildSummary> buildSummaries =
Collections.synchronizedMap( new IdentityHashMap<MavenProject, BuildSummary>() );
public MavenExecutionResult setProject( MavenProject project )
{
@ -105,7 +106,7 @@ public class DefaultMavenExecutionResult
{
if ( buildSummaries == null )
{
buildSummaries = Collections.synchronizedMap(new IdentityHashMap<MavenProject, BuildSummary>());
buildSummaries = Collections.synchronizedMap( new IdentityHashMap<MavenProject, BuildSummary>() );
}
buildSummaries.put( summary.getProject(), summary );
}