Skip to content

[MCLEAN-126] Replaced old File API with new Path equivalent where possible#62

Merged
slachiewicz merged 3 commits into
apache:maven-clean-plugin-3.xfrom
peterdemaeyer:MCLEAN-126
Jan 19, 2025
Merged

[MCLEAN-126] Replaced old File API with new Path equivalent where possible#62
slachiewicz merged 3 commits into
apache:maven-clean-plugin-3.xfrom
peterdemaeyer:MCLEAN-126

Conversation

@peterdemaeyer

Copy link
Copy Markdown
Contributor

Replaced usage of old File API with new Path API where possible.

@@ -197,7 +199,7 @@ public class CleanMojo extends AbstractMojo {
* waiting for all files to be deleted when the session ends, <code>at-end</code> to indicate that the actual
* deletion should be performed synchronously when the session ends, or <code>defer</code> to specify that
* the actual file deletion should be started in the background when the session ends (this should only be used

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

session ends. (This should only be used

* deletion should be performed synchronously when the session ends, or <code>defer</code> to specify that
* the actual file deletion should be started in the background when the session ends (this should only be used
* when maven is embedded in a long running process).
* when maven is embedded in a long-running process).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

period inside parentheses

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see your point. Maybe even drop the parentheses altogether?

Comment thread src/main/java/org/apache/maven/plugins/clean/Cleaner.java
@slachiewicz slachiewicz added the enhancement New feature or request label Jan 19, 2025
@slachiewicz slachiewicz merged commit e8fea70 into apache:maven-clean-plugin-3.x Jan 19, 2025
@slawekjaranowski slawekjaranowski added this to the 3.4.1 milestone Jan 29, 2025
@jira-importer

Copy link
Copy Markdown

Resolve #168

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants