You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
- enable ClassCanBeStatic error-prone
- An inner class should be static unless it references members of its
enclosing class. See more details at
https://errorprone.info/bugpattern/ClassCanBeStatic
### Why are the changes needed?
Fix: #2472
### Does this PR introduce _any_ user-facing change?
- no
### How was this patch tested?
- `./gradle build`
coolderli
added a commit
to coolderli/gravitino
that referenced
this issue
Apr 2, 2024
### What changes were proposed in this pull request?
- enable ClassCanBeStatic error-prone
- An inner class should be static unless it references members of its
enclosing class. See more details at
https://errorprone.info/bugpattern/ClassCanBeStatic
### Why are the changes needed?
Fix: apache#2472
### Does this PR introduce _any_ user-facing change?
- no
### How was this patch tested?
- `./gradle build`
Describe the subtask
enable https://errorprone.info/bugpattern/ClassCanBeStatic error-prone:
https://errorprone.info/bugpattern/ClassCanBeStatic
Parent issue
#2225
The text was updated successfully, but these errors were encountered: