From 6f0318ed686be1362379762029ca34a7e80a1590 Mon Sep 17 00:00:00 2001 From: Karl Heinz Marbaise Date: Wed, 31 Dec 2014 11:34:27 +0100 Subject: [PATCH] [MNG-5702] Wrong reactor summary output while using -T option Fixed checkstyle reported errors. --- .../apache/maven/execution/DefaultMavenExecutionResult.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java index 1be812f80b..b7599d23d4 100644 --- a/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java +++ b/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java @@ -40,7 +40,8 @@ public class DefaultMavenExecutionResult private List exceptions = new CopyOnWriteArrayList(); - private Map buildSummaries = Collections.synchronizedMap(new IdentityHashMap()); + private Map buildSummaries = + Collections.synchronizedMap( new IdentityHashMap() ); public MavenExecutionResult setProject( MavenProject project ) { @@ -105,7 +106,7 @@ public class DefaultMavenExecutionResult { if ( buildSummaries == null ) { - buildSummaries = Collections.synchronizedMap(new IdentityHashMap()); + buildSummaries = Collections.synchronizedMap( new IdentityHashMap() ); } buildSummaries.put( summary.getProject(), summary ); }