This is an automated email from the ASF dual-hosted git repository.
etudenhoefner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/main by this push:
new 87537f9954 Build: Enable FormatStringAnnotation error-prone check
(#10856)
87537f9954 is described below
commit 87537f995450a098a87b25d72124781b4da99a47
Author: Piotr Findeisen <[email protected]>
AuthorDate: Mon Aug 5 09:17:42 2024 +0200
Build: Enable FormatStringAnnotation error-prone check (#10856)
---
baseline.gradle | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/baseline.gradle b/baseline.gradle
index e3fe602e91..42be6d8a24 100644
--- a/baseline.gradle
+++ b/baseline.gradle
@@ -98,8 +98,7 @@ subprojects {
'-Xep:EqualsGetClass:OFF',
// specific to Palantir
'-Xep:FinalClass:OFF',
- // TODO (https://github.com/apache/iceberg/issues/10854) this is a
recently added check. Figure out whether we adjust the code or suppress for good
- '-Xep:FormatStringAnnotation:WARN',
+ '-Xep:FormatStringAnnotation:ERROR',
// TODO (https://github.com/apache/iceberg/issues/10855) this is a
recently added check. Figure out whether we adjust the code or suppress for good
'-Xep:ImmutablesReferenceEquality:WARN',
'-Xep:IntLongMath:ERROR',