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

Upgrade to PMD 7.2.0 #6718

Merged
merged 17 commits into from
Jun 9, 2024
Merged

Upgrade to PMD 7.2.0 #6718

merged 17 commits into from
Jun 9, 2024

Conversation

Gold856
Copy link
Contributor

@Gold856 Gold856 commented Jun 9, 2024

Resolves #6597.
Some notes on suppressions:
SingularField was mostly suppressed in places where a Thread was created. I'm not sure whether or not the Thread object could actually be made completely local without unintended side effects from GC.
I suppressed ExceptionAsFlowControl and AvoidThrowingNewInstanceOfSameException because we do both pretty frequently. Not sure if we'd prefer to refactor there.
The spline classes explicitly create an array even though the method takes varargs. I assume it's a style thing, so I suppressed except for one spot in SplineHelper, since it was a 1D array of size 4.

@Gold856 Gold856 requested review from PeterJohnson and a team as code owners June 9, 2024 03:18
@PeterJohnson PeterJohnson merged commit b0cc84a into wpilibsuite:main Jun 9, 2024
28 of 29 checks passed
@Gold856 Gold856 deleted the upgrade-pmd branch June 9, 2024 05:09
Copy link
Contributor

@KangarooKoala KangarooKoala left a comment

Choose a reason for hiding this comment

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

For posterity, this is the replacement to #6707.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade to PMD 7.1.0
3 participants