From 93776cd64828d14af57bc2ab208a0b465e47324f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:21:14 +0000 Subject: [PATCH 1/2] Bump version.spotbugs from 4.8.2 to 4.8.3 Bumps `version.spotbugs` from 4.8.2 to 4.8.3. Updates `com.github.spotbugs:spotbugs` from 4.8.2 to 4.8.3 - [Release notes](https://github.com/spotbugs/spotbugs/releases) - [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md) - [Commits](https://github.com/spotbugs/spotbugs/compare/4.8.2...4.8.3) Updates `com.github.spotbugs:spotbugs-annotations` from 4.8.2 to 4.8.3 - [Release notes](https://github.com/spotbugs/spotbugs/releases) - [Changelog](https://github.com/spotbugs/spotbugs/blob/master/CHANGELOG.md) - [Commits](https://github.com/spotbugs/spotbugs/compare/4.8.2...4.8.3) --- updated-dependencies: - dependency-name: com.github.spotbugs:spotbugs dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: com.github.spotbugs:spotbugs-annotations dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3e626f0c8..c9629db89 100644 --- a/pom.xml +++ b/pom.xml @@ -106,7 +106,7 @@ 1.2.1 1.15.3 4.8.2.0 - 4.8.2 + 4.8.3 0.21 2.4.0 From d008595cedf74ece1a8a120d3eb110ded7e86150 Mon Sep 17 00:00:00 2001 From: Jan Ouwens Date: Fri, 22 Dec 2023 11:25:43 +0100 Subject: [PATCH 2/2] Fixes spotbugs error --- .../equalsverifier/internal/util/CachedHashCodeInitializer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/util/CachedHashCodeInitializer.java b/equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/util/CachedHashCodeInitializer.java index e426e0f32..a45fc40d4 100644 --- a/equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/util/CachedHashCodeInitializer.java +++ b/equalsverifier-core/src/main/java/nl/jqno/equalsverifier/internal/util/CachedHashCodeInitializer.java @@ -2,6 +2,7 @@ import static nl.jqno.equalsverifier.internal.util.Rethrow.rethrow; +import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import java.lang.reflect.Field; import java.lang.reflect.Method; import java.lang.reflect.Modifier; @@ -45,6 +46,7 @@ private CachedHashCodeInitializer( this.example = example; } + @SuppressFBWarnings(value = "CT_CONSTRUCTOR_THROW", justification = "Will evaluate this later") public CachedHashCodeInitializer( Class type, String cachedHashCodeField,