commit | 9dc9044d2a52a21489d58f3da191a23f35510587 | [log] [tgz] |
---|---|---|
author | Piotrek Żygieło <pzygielo@users.noreply.github.com> | Sun Apr 26 16:20:09 2020 +0200 |
committer | Enrico Olivelli <eolivelli@gmail.com> | Sat May 23 11:16:00 2020 +0200 |
tree | 31d1d890345afc6641c4fb111a92d34274569caf | |
parent | 1dc146ad8cd2ee1757e465f2ee1890d32a408094 [diff] |
Remove extra-check for staleSources is non-null
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 @@ getLog().debug( "Stale source detected: " + f.getAbsolutePath() ); } } - return staleSources != null && !staleSources.isEmpty(); + return !staleSources.isEmpty(); }