summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2018-09-12 10:18:42 +0900
committerDavid Pursehouse <dpursehouse@collab.net>2018-09-12 10:19:11 +0900
commit02e04a3a2b02abf27b540f32e8ef7204d19573f2 (patch)
treeb1f4b88e1d3fe4356e81c3641de7599ab2f42776
parent04fb6d5f0f9ebf573d034fad84041cd2bfb6c2e3 (diff)
Bazel: Make 'DefaultCharset' an ERROR when compiling with ErrorProne toolchain
-rw-r--r--tools/BUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/BUILD b/tools/BUILD
index 2571e759ad..cd34fe99bf 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -68,7 +68,7 @@ java_package_configuration(
"-Xep:CannotMockFinalClass:WARN",
"-Xep:ClassCanBeStatic:WARN",
"-Xep:ClassNewInstance:WARN",
- "-Xep:DefaultCharset:WARN",
+ "-Xep:DefaultCharset:ERROR",
"-Xep:DoubleCheckedLocking:WARN",
"-Xep:ElementsCountedInLoop:WARN",
"-Xep:EqualsHashCode:WARN",