From 3a6f63345c3958bc0fa9530c05facbddb8db0421 Mon Sep 17 00:00:00 2001 From: Tibor17 Date: Fri, 2 Jan 2015 20:20:26 +0100 Subject: [PATCH] [MNG-5702] Final Fields on DefaultMavenExecutionResult.java --- .../org/apache/maven/execution/DefaultMavenExecutionResult.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 708328a04d..a8967edade 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 @@ -99,7 +99,7 @@ public class DefaultMavenExecutionResult public BuildSummary getBuildSummary( MavenProject project ) { - return ( buildSummaries != null ) ? buildSummaries.get( project ) : null; + return buildSummaries.get( project ); } public void addBuildSummary( BuildSummary summary )