Skip to content

Commit d9ad9d1

Browse files
committed
Jackson3HashMapper polishing.
1 parent 69bcc15 commit d9ad9d1

File tree

9 files changed

+239
-84
lines changed

9 files changed

+239
-84
lines changed

pom.xml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<artifactId>spring-context-support</artifactId>
9292
</dependency>
9393

94-
<!-- REDIS Drivers -->
94+
<!-- Redis Drivers -->
9595

9696
<dependency>
9797
<groupId>redis.clients</groupId>
@@ -121,7 +121,8 @@
121121
<scope>test</scope>
122122
</dependency>
123123

124-
<!-- reactive -->
124+
<!-- Reactive -->
125+
125126
<dependency>
126127
<groupId>io.projectreactor</groupId>
127128
<artifactId>reactor-core</artifactId>
@@ -139,7 +140,6 @@
139140
<dependency>
140141
<groupId>com.fasterxml.jackson.datatype</groupId>
141142
<artifactId>jackson-datatype-jsr310</artifactId>
142-
<version>${jackson}</version>
143143
<optional>true</optional>
144144
</dependency>
145145

@@ -149,7 +149,8 @@
149149
<optional>true</optional>
150150
</dependency>
151151

152-
<!-- jackson 3 -->
152+
<!-- Jackson 3 -->
153+
153154
<dependency>
154155
<groupId>tools.jackson.core</groupId>
155156
<artifactId>jackson-databind</artifactId>
@@ -159,7 +160,6 @@
159160
<dependency>
160161
<groupId>com.fasterxml.jackson.core</groupId>
161162
<artifactId>jackson-annotations</artifactId>
162-
<version>3.0-rc5</version>
163163
<optional>true</optional>
164164
</dependency>
165165

@@ -241,6 +241,7 @@
241241
</dependency>
242242

243243
<!-- Kotlin extension -->
244+
244245
<dependency>
245246
<groupId>org.jetbrains.kotlin</groupId>
246247
<artifactId>kotlin-stdlib</artifactId>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
* Flattening requires all property names to not interfere with JSON paths. Using dots or brackets in map keys or as
6666
* property names is not supported using flattening. The resulting hash cannot be mapped back into an Object.
6767
* <h3>Example</h3>
68+
*
6869
* <pre class="code">
6970
* class Person {
7071
* String firstname;
@@ -143,7 +144,7 @@
143144
* @author Mark Paluch
144145
* @author John Blum
145146
* @since 1.8
146-
* @deprecated since 4.0
147+
* @deprecated since 4.0 in favor of {@link org.springframework.data.redis.hash.Jackson3HashMapper}.
147148
*/
148149
@Deprecated(since = "4.0", forRemoval = true)
149150
public class Jackson2HashMapper implements HashMapper<Object, String, Object> {

0 commit comments

Comments
 (0)