diff options
author | Cole Faust <colefaust@google.com> | 2024-03-25 11:45:57 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2024-03-25 11:45:57 -0700 |
commit | f62f54b96fee6cf5ca3f53d7e64c7bd6b1296a81 (patch) | |
tree | 62acc28bb82f01d1d9adbdc53aa4521b2e4313f5 | |
parent | 2d568dfb5de203a3fd184f50933cab24421375d7 (diff) | |
download | doclava-f62f54b96fee6cf5ca3f53d7e64c7bd6b1296a81.tar.gz |
Demote ComparableType errorprone warning
So that it can be promoted to an error by default.
Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I952b13f86d0827d05e434120f193488730782d05
-rw-r--r-- | Android.bp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -90,6 +90,11 @@ java_library_host { "--add-exports jdk.javadoc/jdk.javadoc.internal.doclets.formats.html=ALL-UNNAMED", "--add-exports jdk.javadoc/jdk.javadoc.internal.tool=ALL-UNNAMED", ], + errorprone: { + javacflags: [ + "-Xep:ComparableType:WARN", + ], + }, } java_library_host { |