From 4b6eaadd2886fecb848e4a092b464c3223e34039 Mon Sep 17 00:00:00 2001 From: Stephen Connolly Date: Mon, 6 Jan 2014 10:54:26 +0000 Subject: [PATCH] Remove redundant Null check --- .../apache/maven/plugin/PluginParameterExpressionEvaluator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java index 5b8a64a6f8..593cd87327 100644 --- a/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java +++ b/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java @@ -376,7 +376,7 @@ public class PluginParameterExpressionEvaluator { // The CLI should win for defining properties - if ( ( value == null ) && ( properties != null ) ) + if ( properties != null ) { // We will attempt to get nab a system property as a way to specify a // parameter to a plugins. My particular case here is allowing the surefire