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 BadImport error-prone
- Importing nested classes/static methods/static fields with
commonly-used names can make code harder to read, because it may not be
clear from the context exactly which type is being referred to.
Qualifying the name with that of the containing class can make the code
clearer.
### Why are the changes needed?
Fix: #2476
### Does this PR introduce _any_ user-facing change?
- no
### How was this patch tested?
- GitHub CI passed.
### What changes were proposed in this pull request?
- enable BadImport error-prone
- Importing nested classes/static methods/static fields with
commonly-used names can make code harder to read, because it may not be
clear from the context exactly which type is being referred to.
Qualifying the name with that of the containing class can make the code
clearer.
### Why are the changes needed?
Fix: apache#2476
### Does this PR introduce _any_ user-facing change?
- no
### How was this patch tested?
- GitHub CI passed.
Describe the subtask
enable BadImport error-prone
https://errorprone.info/bugpattern/BadImport
Parent issue
#2225
The text was updated successfully, but these errors were encountered: