Skip to content

Commit 748e344

Browse files
committed
- Replace Intellij @NotNull with Jspecify @NonNull
Signed-off-by: Chris Bono <chris.bono@broadcom.com>
1 parent d6d7d24 commit 748e344

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/org/springframework/data/redis/connection/DefaultStringRedisConnection.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323

2424
import org.apache.commons.logging.Log;
2525
import org.apache.commons.logging.LogFactory;
26-
import org.jetbrains.annotations.NotNull;
2726
import org.jspecify.annotations.NonNull;
2827
import org.jspecify.annotations.NullUnmarked;
2928
import org.jspecify.annotations.Nullable;
@@ -2611,17 +2610,17 @@ public List<Long> hTtl(byte[] key, TimeUnit timeUnit, byte[]... fields) {
26112610
}
26122611

26132612
@Override
2614-
public List<byte[]> hGetDel(@NotNull byte[] key, @NotNull byte[]... fields) {
2613+
public List<byte[]> hGetDel(@NonNull byte[] key, @NonNull byte[]... fields) {
26152614
return convertAndReturn(delegate.hGetDel(key, fields), Converters.identityConverter());
26162615
}
26172616

26182617
@Override
2619-
public List<byte[]> hGetEx(@NotNull byte[] key, Expiration expiration, @NotNull byte[]... fields) {
2618+
public List<byte[]> hGetEx(@NonNull byte[] key, Expiration expiration, @NonNull byte[]... fields) {
26202619
return convertAndReturn(delegate.hGetEx(key, expiration, fields), Converters.identityConverter());
26212620
}
26222621

26232622
@Override
2624-
public Boolean hSetEx(@NotNull byte[] key, @NonNull Map<byte[], byte[]> hashes, HashFieldSetOption condition, Expiration expiration) {
2623+
public Boolean hSetEx(@NonNull byte[] key, @NonNull Map<byte[], byte[]> hashes, HashFieldSetOption condition, Expiration expiration) {
26252624
return convertAndReturn(delegate.hSetEx(key, hashes, condition, expiration), Converters.identityConverter());
26262625
}
26272626

0 commit comments

Comments
 (0)