Skip to content

Commit 1a91cb4

Browse files
committed
Polishing.
Add missing deprecations. See #2483
1 parent 7f31cf7 commit 1a91cb4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/JacksonMetadata.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
* @author Oliver Gierke
4747
* @author Greg Turnquist
4848
*/
49+
@Deprecated(since = "5.0", forRemoval = true)
4950
public class JacksonMetadata implements Iterable<BeanPropertyDefinition> {
5051

5152
private final ObjectMapper mapper;

spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/PersistentEntityToJsonSchemaConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ private class JsonSchemaPropertyRegistrar {
286286
private final List<AbstractJsonSchemaProperty<?>> properties;
287287

288288
/**
289-
* Creates a new {@link JsonSchemaPropertyRegistrar} using the given {@link JacksonMetadata}.
289+
* Creates a new {@link JsonSchemaPropertyRegistrar} using the given {@link Jackson3Metadata}.
290290
*
291291
* @param metadata must not be {@literal null}.
292292
*/

0 commit comments

Comments
 (0)