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

Populate enum/const from Jakarta AssertTrue and/or AssertFalse annotations #456

Conversation

Nephery
Copy link
Contributor

@Nephery Nephery commented Jul 11, 2024

Set enum/const based on the presence of Jakarta @AssertTrue and/or @AssertFalse.

See #455 (comment) for background info.

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.43)

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.43)

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@Nephery Nephery force-pushed the add-jakarta-assertTrueFalse branch from eeaf37a to 00b9426 Compare July 11, 2024 21:03
Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.43)

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

Copy link
Member

@CarstenWickner CarstenWickner left a comment

Choose a reason for hiding this comment

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

Thank you very much for your excellent contribution.

Just one question about the validity of encountering both @AssertTrue and @AssertFalse simultaneously. If that isn't a relevant scenario for your use case, I'm in favor of removing that.
What do you reckon?

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.42)

  • Improving Code Health: 1 findings(s) ✅
  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.42)

  • Improving Code Health: 1 findings(s) ✅
  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.02 (9.44 -> 9.42)

  • Improving Code Health: 1 findings(s) ✅
  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

@CarstenWickner CarstenWickner changed the base branch from main to jakarta-assert_true_false July 13, 2024 20:44
Copy link
Member

@CarstenWickner CarstenWickner left a comment

Choose a reason for hiding this comment

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

This looks very good.
I'm merging this to a feature branch, to adjust the Changelog and Contributor list in the same final merge afterward.

Thank you very much!

@CarstenWickner CarstenWickner merged commit 0f42e0b into victools:jakarta-assert_true_false Jul 13, 2024
11 checks passed
CarstenWickner added a commit that referenced this pull request Jul 13, 2024
* feat: Populate enum/const from Jakarta AssertTrue/AssertFalse annotations (#456)

* chore(docs): update changelog and bump version number

---------

Co-authored-by: Jeffrey D <[email protected]>
@Nephery Nephery deleted the add-jakarta-assertTrueFalse branch July 15, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants