From fb4fcee701aa79fd735a47f0a50595b96cf5aa41 Mon Sep 17 00:00:00 2001 From: keertk Date: Sat, 15 Jul 2023 06:35:11 +0400 Subject: [PATCH] Disable UseCorrectAssertInTests by default --- tools/jdk/default_java_toolchain.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/jdk/default_java_toolchain.bzl b/tools/jdk/default_java_toolchain.bzl index 0a3178358d9d47..025c9d6a5873d0 100644 --- a/tools/jdk/default_java_toolchain.bzl +++ b/tools/jdk/default_java_toolchain.bzl @@ -59,6 +59,7 @@ DEFAULT_JAVACOPTS = [ "-Xep:EmptyTopLevelDeclaration:OFF", "-Xep:LenientFormatStringValidation:OFF", "-Xep:ReturnMissingNullable:OFF", + "-Xep:UseCorrectAssertInTests:OFF", ] # java_toolchain parameters without specifying javac, java.compiler,