From 8588700c23792ca43ee8bbb49b5edffc3c1923fa Mon Sep 17 00:00:00 2001 From: Manu Sridharan Date: Tue, 30 Jul 2024 11:44:24 -0700 Subject: [PATCH] fixes --- .../src/main/kotlin/com/ibm/wala/gradle/NullAway.gradle.kts | 3 +-- .../java/com/ibm/wala/util/nullability/NullabilityUtil.java | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-logic/src/main/kotlin/com/ibm/wala/gradle/NullAway.gradle.kts b/build-logic/src/main/kotlin/com/ibm/wala/gradle/NullAway.gradle.kts index 8323c325a..e806f91f6 100644 --- a/build-logic/src/main/kotlin/com/ibm/wala/gradle/NullAway.gradle.kts +++ b/build-logic/src/main/kotlin/com/ibm/wala/gradle/NullAway.gradle.kts @@ -10,8 +10,7 @@ plugins { dependencies { annotationProcessor(rootProject.versionCatalogs.named("libs").findLibrary("nullaway").get()) - compileOnly( - rootProject.versionCatalogs.named("libs").findLibrary("nullaway-annotations").get()) + compileOnly(rootProject.versionCatalogs.named("libs").findLibrary("nullaway-annotations").get()) } tasks.withType().configureEach { diff --git a/util/src/main/java/com/ibm/wala/util/nullability/NullabilityUtil.java b/util/src/main/java/com/ibm/wala/util/nullability/NullabilityUtil.java index 4ed863ecf..b92468fdf 100644 --- a/util/src/main/java/com/ibm/wala/util/nullability/NullabilityUtil.java +++ b/util/src/main/java/com/ibm/wala/util/nullability/NullabilityUtil.java @@ -7,7 +7,8 @@ public class NullabilityUtil { /** Exception thrown when a {@link #castToNonNull(Object)} call fails. */ public static class CastToNonNullFailedException extends RuntimeException { - private static final long serialVersionUID = 1L; + + private static final long serialVersionUID = -4118612881206393972L; } /**