You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2014/12/31 11:34:39 UTC

maven git commit: [MNG-5702] Wrong reactor summary output while using -T option Fixed checkstyle reported errors.

Repository: maven
Updated Branches:
  refs/heads/master cb91332d3 -> 6f0318ed6


[MNG-5702] Wrong reactor summary output while using -T option
 Fixed checkstyle reported errors.


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/6f0318ed
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/6f0318ed
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/6f0318ed

Branch: refs/heads/master
Commit: 6f0318ed686be1362379762029ca34a7e80a1590
Parents: cb91332
Author: Karl Heinz Marbaise <kh...@apache.org>
Authored: Wed Dec 31 11:34:27 2014 +0100
Committer: Karl Heinz Marbaise <kh...@apache.org>
Committed: Wed Dec 31 11:34:27 2014 +0100

----------------------------------------------------------------------
 .../org/apache/maven/execution/DefaultMavenExecutionResult.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/6f0318ed/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
----------------------------------------------------------------------
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 1be812f..b7599d2 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<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 );
     }