Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor cleanups #2199

Merged
merged 2 commits into from
Mar 30, 2025
Merged

minor cleanups #2199

merged 2 commits into from
Mar 30, 2025

Conversation

elharo
Copy link
Contributor

@elharo elharo commented Mar 28, 2025

Another batch of small cleanups IntelliJ noticed.

@gnodet
Copy link
Contributor

gnodet commented Mar 28, 2025

I'm quite reluctant at modifying the compat/* code. Its aim is to provide as much compatibility as possible with Maven 3 when required. Changes could lead to minor incompatibilities for no real benefit, as they are deprecated and will be phased out anyway. So I don't see the benefits in fixing that code.

That definitely does not apply to code in api/* or impl/* of course.

@elharo
Copy link
Contributor Author

elharo commented Mar 28, 2025

This is all stuff detected by IntelliJ static analysis, so relatively safe. If it's in the repo then we need to read it, understand it, and maintain it so impriovements along these lines are valuable, compat or otherwise.

@gnodet
Copy link
Contributor

gnodet commented Mar 28, 2025

This is all stuff detected by IntelliJ static analysis, so relatively safe. If it's in the repo then we need to read it, understand it, and maintain it so impriovements along these lines are valuable, compat or otherwise.

I don't think we need to maintain it at all. I wonder if we could reuse the 3.x jars instead actually...

@elharo
Copy link
Contributor Author

elharo commented Mar 28, 2025

If we can delete it and use the existing 3.x jars instead, great. But if it's in the repo it shouldn't be left to rot and cause problems.

@elharo elharo marked this pull request as ready for review March 28, 2025 13:21
@elharo elharo merged commit f63d92c into master Mar 30, 2025
19 checks passed
@elharo elharo deleted the inspect branch March 30, 2025 23:08
@github-actions github-actions bot added this to the 4.0.0-rc-4 milestone Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants