From d029198ad3165d1101e947d058cd0c30e467b9fc Mon Sep 17 00:00:00 2001 From: Appu Goundan Date: Tue, 1 Aug 2023 11:08:22 -0400 Subject: [PATCH] Upgrade error_prone_core to 2.20.0 --- .../jvm/src/main/kotlin/build-logic.errorprone.gradle.kts | 2 +- .../src/main/java/dev/sigstore/tuf/model/Hashes.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-logic/jvm/src/main/kotlin/build-logic.errorprone.gradle.kts b/build-logic/jvm/src/main/kotlin/build-logic.errorprone.gradle.kts index 91a1a8185..039357fce 100644 --- a/build-logic/jvm/src/main/kotlin/build-logic.errorprone.gradle.kts +++ b/build-logic/jvm/src/main/kotlin/build-logic.errorprone.gradle.kts @@ -8,7 +8,7 @@ if (!project.hasProperty("skipErrorprone")) { apply(plugin = "net.ltgt.errorprone") dependencies { - "errorprone"("com.google.errorprone:error_prone_core:2.18.0") + "errorprone"("com.google.errorprone:error_prone_core:2.20.0") "annotationProcessor"("com.google.guava:guava-beta-checker:1.0") } diff --git a/sigstore-java/src/main/java/dev/sigstore/tuf/model/Hashes.java b/sigstore-java/src/main/java/dev/sigstore/tuf/model/Hashes.java index 693f10cea..2f4cd01a5 100644 --- a/sigstore-java/src/main/java/dev/sigstore/tuf/model/Hashes.java +++ b/sigstore-java/src/main/java/dev/sigstore/tuf/model/Hashes.java @@ -24,11 +24,11 @@ @Value.Immutable public interface Hashes { - @Nullable /** SHA_256 hash of the thing. * */ + @Nullable String getSha256(); - @Nullable /** SHA_512 hash of the thing. * */ + @Nullable String getSha512(); }