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

Diagnostic missing for @PositiveOrZero #524

Open
1 of 5 tasks
turkeylurkey opened this issue May 27, 2024 · 2 comments
Open
1 of 5 tasks

Diagnostic missing for @PositiveOrZero #524

turkeylurkey opened this issue May 27, 2024 · 2 comments
Labels
diagnostic Diagnostic item

Comments

@turkeylurkey
Copy link
Contributor

turkeylurkey commented May 27, 2024

Description:

When using @PositiveOrZero on a List<String> I expect a diagnostic message.
image

Specification:

@PositiveOrZero annotation can only be used on BigDecimal, BigInteger, byte, short, int, long, float, double (and their respective wrappers) type fields or methods.

Type of language feature proposed:

Select all that apply

  • diagnostic
  • quick-fix
  • snippet
  • other, please specify:

  • Must also enable the unit test in BeanValidationTest.java line 172
@turkeylurkey turkeylurkey added the diagnostic Diagnostic item label May 27, 2024
@turkeylurkey
Copy link
Contributor Author

Actually if you spell it @PostiveOrZero it does not compile but the diagnostic and quick fix are generated.

@turkeylurkey
Copy link
Contributor Author

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

No branches or pull requests

1 participant