From 9e687e43f4d0270adc283a7b8b312fc28879c77a Mon Sep 17 00:00:00 2001 From: Brian Sam-Bodden Date: Wed, 2 Nov 2022 17:46:08 -0700 Subject: [PATCH] docs: clean up Javadoc warnings (#121) --- .../java/com/redis/om/spring/RedisEnhancedKeyValueAdapter.java | 2 +- .../java/com/redis/om/spring/RedisJSONKeyValueAdapter.java | 3 ++- .../repository/support/RedisDocumentRepositoryFactory.java | 3 +++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/redis-om-spring/src/main/java/com/redis/om/spring/RedisEnhancedKeyValueAdapter.java b/redis-om-spring/src/main/java/com/redis/om/spring/RedisEnhancedKeyValueAdapter.java index 957a95bf..cf232a9e 100644 --- a/redis-om-spring/src/main/java/com/redis/om/spring/RedisEnhancedKeyValueAdapter.java +++ b/redis-om-spring/src/main/java/com/redis/om/spring/RedisEnhancedKeyValueAdapter.java @@ -258,7 +258,7 @@ public List getAllIds(String keyspace, Class type) { * @param type the desired target type. * @param offset index value to start reading. * @param rows maximum number or entities to return. - * @param + * @param the target type * @return never {@literal null}. * @since 2.5 */ diff --git a/redis-om-spring/src/main/java/com/redis/om/spring/RedisJSONKeyValueAdapter.java b/redis-om-spring/src/main/java/com/redis/om/spring/RedisJSONKeyValueAdapter.java index 9c30b1bd..b7cbb804 100644 --- a/redis-om-spring/src/main/java/com/redis/om/spring/RedisJSONKeyValueAdapter.java +++ b/redis-om-spring/src/main/java/com/redis/om/spring/RedisJSONKeyValueAdapter.java @@ -57,8 +57,9 @@ public class RedisJSONKeyValueAdapter extends RedisKeyValueAdapter { * {@link RedisCustomConversions}. * * @param redisOps must not be {@literal null}. + * @param rmo must not be {@literal null}. * @param mappingContext must not be {@literal null}. - * @param redisJSONOperations must not be {@literal null}. + * @param keyspaceToIndexMap must not be {@literal null}. */ @SuppressWarnings("unchecked") public RedisJSONKeyValueAdapter(RedisOperations redisOps, RedisModulesOperations rmo, diff --git a/redis-om-spring/src/main/java/com/redis/om/spring/repository/support/RedisDocumentRepositoryFactory.java b/redis-om-spring/src/main/java/com/redis/om/spring/repository/support/RedisDocumentRepositoryFactory.java index 09544040..535be039 100644 --- a/redis-om-spring/src/main/java/com/redis/om/spring/repository/support/RedisDocumentRepositoryFactory.java +++ b/redis-om-spring/src/main/java/com/redis/om/spring/repository/support/RedisDocumentRepositoryFactory.java @@ -50,6 +50,7 @@ public class RedisDocumentRepositoryFactory extends KeyValueRepositoryFactory { * @param rmo must not be {@literal null}. * @param keyspaceToIndexMap must not be {@literal null}. * @param mappingContext must not be {@literal null}. + * @param gson must not be {@literal null}. */ public RedisDocumentRepositoryFactory( // KeyValueOperations keyValueOperations, // @@ -70,6 +71,7 @@ public RedisDocumentRepositoryFactory( // * @param keyspaceToIndexMap must not be {@literal null}. * @param queryCreator must not be {@literal null}. * @param mappingContext must not be {@literal null}. + * @param gson must not be {@literal null}. */ public RedisDocumentRepositoryFactory( // KeyValueOperations keyValueOperations, // @@ -93,6 +95,7 @@ public RedisDocumentRepositoryFactory( // * @param queryCreator must not be {@literal null}. * @param repositoryQueryType must not be {@literal null}. * @param mappingContext must not be {@literal null}. + * @param gson must not be {@literal null}. */ public RedisDocumentRepositoryFactory( // KeyValueOperations keyValueOperations, //