peterdemaeyer commented on code in PR #60: URL: https://github.com/apache/maven-clean-plugin/pull/60#discussion_r1833178076
########## src/main/java/org/apache/maven/plugins/clean/Cleaner.java: ########## @@ -273,7 +273,8 @@ private boolean isSymbolicLink(Path path) throws IOException { * @throws IOException If a file/directory could not be deleted and <code>failOnError</code> is <code>true</code>. */ private int delete(File file, boolean failOnError, boolean retryOnError) throws IOException { - if (!file.delete()) { + IOException error = delete(file); Review Comment: Will do. To justify why I named it like this: it was to be consistent with the context of the existing terminology `failOnError` - it is the `error` in that context. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org