This is an automated email from the ASF dual-hosted git repository. eolivelli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 9dc9044 Remove extra-check for staleSources is non-null 9dc9044 is described below commit 9dc9044d2a52a21489d58f3da191a23f35510587 Author: Piotrek Żygieło <pzygi...@users.noreply.github.com> AuthorDate: Sun Apr 26 16:20:09 2020 +0200 Remove extra-check for staleSources is non-null --- .../java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java index 703b9aa..48a152a 100644 --- a/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java +++ b/src/main/java/org/apache/maven/plugin/compiler/AbstractCompilerMojo.java @@ -1344,7 +1344,7 @@ public abstract class AbstractCompilerMojo getLog().debug( "Stale source detected: " + f.getAbsolutePath() ); } } - return staleSources != null && !staleSources.isEmpty(); + return !staleSources.isEmpty(); }