aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/android/AarGeneratorBuilder.java
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-05-07 01:03:35 -0400
committerGravatar Kristina Chodorow <kchodorow@google.com>2017-05-08 09:49:09 -0400
commit33876789f80853baa8d4210628aa8eabf6c2513a (patch)
treede0dd89c56847d4ee9b9a937f32d42495cc1050a /src/main/java/com/google/devtools/build/lib/rules/android/AarGeneratorBuilder.java
parent909619aa9d14f8b92c1700c9f6ec4cae881245f0 (diff)
Replace constants (static final CONSTANT_CASE) declaration type which use the general collection interface (e.g. List) with an immutable type (e.g. ImmutableList).
For constant field declarations, you should use the immutable type (such as ImmutableList) instead of the general collection interface type (such as List). This communicates to your callers important semantic guarantees ([] For more info, see:[] Cleanup change automatically generated by error-prone refactoring //third_party/java_src/error_prone/project/core/src/main/java/com/google/errorprone/bugpatterns:MutableConstantField_refactoring on targets //third_party/bazel/... PiperOrigin-RevId: 155305768
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AarGeneratorBuilder.java')
0 files changed, 0 insertions, 0 deletions