-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
HiddenField false positive on inner records #14028
Comments
Some comparisons with inner classes also:
Issue is approved, @fprochazka please feel free to send a PR |
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 10, 2023
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 10, 2023
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 11, 2023
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 12, 2023
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 15, 2023
Kevin222004
added a commit
to Kevin222004/checkstyle
that referenced
this issue
Dec 21, 2023
rnveach
pushed a commit
that referenced
this issue
Dec 22, 2023
@romani I think this issue needs to be closed know |
Closed via #14128 |
@Kevin222004 issue will be automatically closed if you do “Closes #….” in the PR description. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link to check documentation: https://checkstyle.sourceforge.io/checks/coding/hiddenfield.html
Describe what you expect in detail.
Adding
static
to the inner record fixes the false positive, but records don't sharethis
of outer class, so the check is wrong in this case, because thestatic
is AFAIK implicit.The text was updated successfully, but these errors were encountered: