Skip to content

Commit f767407

Browse files
committed
Typos...
1 parent e6ec261 commit f767407

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/main/java/org/springframework/data/redis/hash/Jackson3HashMapper.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import tools.jackson.core.JacksonException;
1919
import tools.jackson.core.JsonGenerator;
2020
import tools.jackson.core.JsonParser;
21+
import tools.jackson.core.TreeNode;
2122
import tools.jackson.core.Version;
2223
import tools.jackson.databind.*;
2324
import tools.jackson.databind.cfg.MapperBuilder;
@@ -58,14 +59,12 @@
5859
import org.jspecify.annotations.Nullable;
5960

6061
import org.springframework.data.mapping.MappingException;
61-
import org.springframework.data.redis.serializer.GenericJackson3JsonRedisSerializer;
6262
import org.springframework.data.util.DirectFieldAccessFallbackBeanWrapper;
6363
import org.springframework.data.util.Lazy;
6464
import org.springframework.lang.Contract;
6565
import org.springframework.util.Assert;
6666

6767
import com.fasterxml.jackson.annotation.JsonInclude.Include;
68-
import com.fasterxml.jackson.core.TreeNode;
6968

7069
/**
7170
* {@link ObjectMapper} based {@link HashMapper} implementation that allows flattening. Given an entity {@code Person}
@@ -231,12 +230,11 @@ public static Jackson3HashMapperBuilder<JsonMapper.Builder> builder() {
231230
}
232231

233232
/**
234-
* Creates a new {@link GenericJackson3JsonRedisSerializer.GenericJackson3JsonRedisSerializerBuilder} to configure and
235-
* build a {@link GenericJackson3JsonRedisSerializer}.
233+
* Creates a new {@link Jackson3HashMapperBuilder} to configure and build a {@link Jackson3HashMapper}.
236234
*
237235
* @param builderFactory factory to create a {@link MapperBuilder} for the {@link ObjectMapper}.
238-
* @param <B> builder type of the {@link MapperBuilder} to use.
239-
* @return a new {@link GenericJackson3JsonRedisSerializer.GenericJackson3JsonRedisSerializerBuilder}.
236+
* @param <B> type of the {@link MapperBuilder} to use.
237+
* @return a new {@link Jackson3HashMapperBuilder}.
240238
*/
241239
public static <B extends MapperBuilder<? extends ObjectMapper, ? extends MapperBuilder<?, ?>>> Jackson3HashMapperBuilder<B> builder(
242240
Supplier<B> builderFactory) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public static GenericJackson3JsonRedisSerializerBuilder<JsonMapper.Builder> buil
144144
* {@link GenericJackson3JsonRedisSerializer}.
145145
*
146146
* @param builderFactory factory to create a {@link MapperBuilder} for the {@link ObjectMapper}.
147-
* @param <B> builder type of the {@link MapperBuilder} to use.
147+
* @param <B> type of the {@link MapperBuilder} to use.
148148
* @return a new {@link GenericJackson3JsonRedisSerializerBuilder}.
149149
*/
150150
public static <B extends MapperBuilder<? extends ObjectMapper, ? extends MapperBuilder<?, ?>>> GenericJackson3JsonRedisSerializerBuilder<B> builder(

0 commit comments

Comments
 (0)