Skip to content

[java] Fix #4435 - FP with UnusedAssignment - #4535

Merged
adangel merged 25 commits into
pmd:masterfrom
oowekyala:issue4435-unusedAssignment
Apr 3, 2024
Merged

adangel merged 25 commits into
pmd:masterfrom
oowekyala:issue4435-unusedAssignment

Conversation

@oowekyala

@oowekyala oowekyala commented May 2, 2023 •

Copy link
Copy Markdown
Member

Describe the PR

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@oowekyala oowekyala added this to the 7.0.0 milestone May 2, 2023
@ghost

ghost commented May 3, 2023 •

Copy link
Copy Markdown
1 Message
📖 Compared to master:
This changeset changes 0 violations,
introduces 67 new violations, 0 new errors and 0 new configuration errors,
removes 297 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
✅ Compared to master:
This changeset changes 0 violations,
introduces 67 new violations, 0 new errors and 0 new configuration errors,
removes 297 violations, 0 errors and 0 configuration errors.
Download full report as build artifact
✅ Compared to master:
This changeset changes 0 violations,
introduces 65 new violations, 0 new errors and 0 new configuration errors,
removes 297 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 0 violations,
introduces 67 new violations, 0 new errors and 0 new configuration errors,
removes 192 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 0 violations,
introduces 63 new violations, 0 new errors and 0 new configuration errors,
removes 186 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 0 violations,
introduces 80 new violations, 0 new errors and 0 new configuration errors,
removes 186 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 7 violations,
introduces 783 new violations, 0 new errors and 0 new configuration errors,
removes 196 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 2 violations,
introduces 782 new violations, 0 new errors and 0 new configuration errors,
removes 195 violations, 0 errors and 0 configuration errors.
Full report
✅ Compared to master:
This changeset changes 6 violations,
introduces 757 new violations, 0 new errors and 0 new configuration errors,
removes 247 violations, 0 errors and 0 configuration errors.
Full report

Generated by 🚫 Danger

@oowekyala
oowekyala marked this pull request as draft May 3, 2023 20:38
@oowekyala
oowekyala force-pushed the issue4435-unusedAssignment branch from 0949a19 to 60367d0 Compare May 21, 2023 19:45
@oowekyala

Copy link
Copy Markdown
Member Author

The regression tester comment above seems broken:

<a href="Chunk.io now requires authentication. Send an email to [email protected] to get an invite./diff1/index.html">Full report</a></td>

@adangel

adangel commented Jun 25, 2023

Copy link
Copy Markdown
Member

The regression tester comment above seems broken:

<a href="Chunk.io now requires authentication. Send an email to [email protected] to get an invite./diff1/index.html">Full report</a></td>

Yes, it seems we lost the account there (probably due to inactivity). I've changed the github actions script (d238de5 and f5829ac), so that the regression tester report is uploaded as an artifact. It worked for the other pull request already: #4605 -> go to checks -> left to the button "re-run all jobs" there is "artifacts" where you can download the report. You can view then the report locally.

You'll need to merge/rebase against master to get the new github actions script. With the next build, you should also see this artifact then.

@oowekyala

Copy link
Copy Markdown
Member Author

Thanks for explaining!

@adangel adangel modified the milestones: 7.0.0, 7.0.1, 7.1.0 Mar 21, 2024
@oowekyala
oowekyala marked this pull request as ready for review March 27, 2024 15:30
@oowekyala

Copy link
Copy Markdown
Member Author

After reviewing the diff report, this seems alright to me. It fixes some unreported FNs/FPs on ImmutableField too.

@adangel adangel modified the milestones: 7.1.0, 7.0.1 Mar 29, 2024
@adangel
adangel self-requested a review March 29, 2024 10:11
@oowekyala oowekyala linked an issue Apr 2, 2024 that may be closed by this pull request

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks!

@adangel
adangel merged commit 71633b4 into pmd:master Apr 3, 2024
adangel added a commit that referenced this pull request Apr 3, 2024
@oowekyala
oowekyala deleted the issue4435-unusedAssignment branch April 3, 2024 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants