summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
author William Escande <wescande@google.com> 2024-12-11 18:36:09 -0800
committer William Escande <wescande@google.com> 2024-12-11 19:15:16 -0800
commitf4c291433f539e823b19176a5d7b6837d8e9bd26 (patch)
tree09f86745f4b9b0fa5ccdaec08d0ecc8c2b19564a /Android.bp
parentca277aeb1652423b36c7bea2b6e692a3ca860c8d (diff)
Errorprone: Fix & enforce DuplicateBranches
Bug: 311772251 Test: m . Flag: Exempt no-op change to respect lint recommendation Change-Id: Ida99e0e524be3edac9ae78cbb0b26aa98e693282
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 9142bd51ae..b787fa0f01 100644
--- a/Android.bp
+++ b/Android.bp
@@ -115,6 +115,7 @@ java_defaults {
"-Xep:ClassCanBeStatic:ERROR",
"-Xep:DateFormatConstant:ERROR",
"-Xep:DirectInvocationOnMock:ERROR",
+ "-Xep:DuplicateBranches:ERROR",
"-Xep:EmptyBlockTag:ERROR",
"-Xep:EmptyCatch:ERROR",
"-Xep:EnumOrdinal:ERROR",