Skip to content

Commit

Permalink
[MCLEAN-104] Prevent NPE in fast mode and quiet build
Browse files Browse the repository at this point in the history
  • Loading branch information
famod authored Jan 16, 2023
1 parent dbf7b87 commit 28ac75f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/org/apache/maven/plugins/clean/Cleaner.java
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,9 @@ synchronized void doSessionEnd() {
}
if (!FAST_MODE_DEFER.equals(fastMode)) {
try {
cleaner.logInfo.log("Waiting for background file deletion");
if (logInfo != null) {
cleaner.logInfo.log("Waiting for background file deletion");
}
while (status != STOPPED) {
wait();
}
Expand Down

0 comments on commit 28ac75f

Please sign in to comment.