diff --git a/gradle/versions.gradle b/gradle/versions.gradle index fc471b2a5c5..f7c4c174517 100644 --- a/gradle/versions.gradle +++ b/gradle/versions.gradle @@ -5,7 +5,7 @@ dependencyManagement { dependency 'com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.17.2' dependency 'com.fasterxml.jackson.module:jackson-module-kotlin:2.17.2' - dependencySet(group: 'com.google.errorprone', version: '2.31.0') { + dependencySet(group: 'com.google.errorprone', version: '2.34.0') { entry 'error_prone_annotation' entry 'error_prone_check_api' entry 'error_prone_core' diff --git a/infrastructure/io/src/main/java/tech/pegasys/teku/infrastructure/io/JemallocDetector.java b/infrastructure/io/src/main/java/tech/pegasys/teku/infrastructure/io/JemallocDetector.java index 51646430168..fc5a8241e1e 100644 --- a/infrastructure/io/src/main/java/tech/pegasys/teku/infrastructure/io/JemallocDetector.java +++ b/infrastructure/io/src/main/java/tech/pegasys/teku/infrastructure/io/JemallocDetector.java @@ -23,6 +23,7 @@ @SuppressWarnings("JavaCase") public class JemallocDetector { private static final Logger LOG = LogManager.getLogger(); + @SuppressWarnings("NonFinalStaticField") private static String _jemalloc; diff --git a/infrastructure/logging/src/main/java/tech/pegasys/teku/infrastructure/logging/LoggingConfigurator.java b/infrastructure/logging/src/main/java/tech/pegasys/teku/infrastructure/logging/LoggingConfigurator.java index 44280bba40d..a4465d47f7e 100644 --- a/infrastructure/logging/src/main/java/tech/pegasys/teku/infrastructure/logging/LoggingConfigurator.java +++ b/infrastructure/logging/src/main/java/tech/pegasys/teku/infrastructure/logging/LoggingConfigurator.java @@ -55,18 +55,25 @@ public class LoggingConfigurator { @SuppressWarnings("NonFinalStaticField") private static LoggingDestination destination; + @SuppressWarnings("NonFinalStaticField") private static boolean includeEvents; + @SuppressWarnings("NonFinalStaticField") private static boolean includeValidatorDuties; + @SuppressWarnings("NonFinalStaticField") private static boolean includeP2pWarnings; + @SuppressWarnings("NonFinalStaticField") private static String file; + @SuppressWarnings("NonFinalStaticField") private static String filePattern; + @SuppressWarnings("NonFinalStaticField") private static Level rootLogLevel = Level.INFO; + @SuppressWarnings("NonFinalStaticField") private static int dbOpAlertThresholdMillis;