Skip to content

Commit c90fd85

Browse files
JuHyun419claude
andcommitted
Fix typos in Javadoc and assertion messages.
Correct "provieded" to "provided" in RedisMessageConverters, fix "bot" to "not" in the assertion message of GenericJackson2JsonRedisSerializer's typeHintPropertyName(...), and update DefaultStreamOperations' class-level Javadoc to reference StreamOperations instead of the copy-pasted ListOperations. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NCNaLYkirUWaphVdUZPvEa Signed-off-by: juhyun <zzang9ha@naver.com>
1 parent 24a9c84 commit c90fd85

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/org/springframework/data/redis/core/DefaultStreamOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
import org.springframework.util.ClassUtils;
5757

5858
/**
59-
* Default implementation of {@link ListOperations}.
59+
* Default implementation of {@link StreamOperations}.
6060
*
6161
* @author Mark Paluch
6262
* @author Christoph Strobl

src/main/java/org/springframework/data/redis/serializer/GenericJackson2JsonRedisSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ public GenericJackson2JsonRedisSerializerBuilder defaultTyping(boolean defaultTy
502502
*/
503503
public GenericJackson2JsonRedisSerializerBuilder typeHintPropertyName(String typeHintPropertyName) {
504504

505-
Assert.hasText(typeHintPropertyName, "Type hint property name must bot be null or empty");
505+
Assert.hasText(typeHintPropertyName, "Type hint property name must not be null or empty");
506506

507507
this.typeHintPropertyName = typeHintPropertyName;
508508
return this;

src/main/java/org/springframework/data/redis/serializer/RedisMessageConverters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static MessageConverter createMessageConverter(Consumer<Builder> builderConsumer
101101
interface Builder {
102102

103103
/**
104-
* Configure the default {@link MimeType} that is provieded through
104+
* Configure the default {@link MimeType} that is provided through
105105
* {@link org.springframework.messaging.converter.DefaultContentTypeResolver} to message converters when using
106106
* {@link #registerDefaults(boolean) default registrations}.
107107
*

0 commit comments

Comments
 (0)