Skip to content

[Fix] Document allow-all access control no-op - #18375

Open
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/allow-all-access-control-sonar
Open

[Fix] Document allow-all access control no-op#18375
Caideyipi wants to merge 1 commit into
apache:masterfrom
Caideyipi:fix/allow-all-access-control-sonar

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Description

This is a Sonar follow-up to #18351.

The overload added to AllowAllAccessControl is intentionally a no-op because this implementation permits every operation. This PR documents that intent inside the method body so it is no longer reported as an unexplained empty method.

There is no runtime behavior change.

Verification

  • DataNode validate lifecycle: passed
  • Checkstyle: 0 violations
  • Spotless and git diff --check: passed

This PR has:

  • been self-reviewed.
  • documented the intentional no-op.

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.

1 participant