From 15456c86a45c7871d8a217e985d099c02149aa7a Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sat, 20 Jul 2024 10:52:54 +0200 Subject: Switch from JetBrains annotations to JSpecify. Change-Id: Ia04b52c36f9779ab15e688e0dd7434644b3a3f7f --- jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java | 2 +- .../src/main/java/eu/mulk/jgvariant/ostree/package-info.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'jgvariant-ostree/src/main/java/eu') diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java index 3bd8b25..f9309b9 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/ByteString.java @@ -10,7 +10,7 @@ import java.util.Base64; import java.util.HexFormat; import java.util.stream.IntStream; import java.util.stream.Stream; -import org.jetbrains.annotations.Nullable; +import org.jspecify.annotations.Nullable; /** * A wrapper for a {@code byte[]} that implements {@link #equals(Object)}, {@link #hashCode()}, and diff --git a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java index 858a748..63988ce 100644 --- a/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java +++ b/jgvariant-ostree/src/main/java/eu/mulk/jgvariant/ostree/package-info.java @@ -116,7 +116,9 @@ * */ @API(status = Status.EXPERIMENTAL) +@NullMarked package eu.mulk.jgvariant.ostree; import org.apiguardian.api.API; import org.apiguardian.api.API.Status; +import org.jspecify.annotations.NullMarked; -- cgit v1.2.3