From b831c74086165d2627412358cfa3e83b742e3d0d Mon Sep 17 00:00:00 2001 From: agrgr Date: Tue, 10 Oct 2023 14:50:31 +0300 Subject: [PATCH] cleanup --- .../springframework/data/aerospike/core/AerospikeTemplate.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java b/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java index 6cad35f83..4f35b3968 100644 --- a/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java +++ b/src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java @@ -480,12 +480,11 @@ public boolean exists(Object id, Class entityClass) { } } - @SuppressWarnings("unchecked") @Override public Stream findAll(Class entityClass) { Assert.notNull(entityClass, "Class must not be null!"); - return (Stream) findAllUsingQuery(entityClass, null, null); + return findAllUsingQuery(entityClass, null, (Qualifier[]) null); } @SuppressWarnings("unchecked")