Skip to content

Commit 792371a

Browse files
committed
Generalize Jackson version numbers
This commit removes specific version info from Jackson codecs and converters, in favor of generic info or removing the version information all together. See gh-29508
1 parent 62bbebd commit 792371a

File tree

20 files changed

+20
-46
lines changed

20 files changed

+20
-46
lines changed

spring-jms/src/main/java/org/springframework/jms/support/converter/MappingJackson2MessageConverter.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@
5454
* <li>{@link DeserializationFeature#FAIL_ON_UNKNOWN_PROPERTIES} is disabled</li>
5555
* </ul>
5656
*
57-
* <p>Compatible with Jackson 2.9 to 2.12, as of Spring 5.3.
58-
*
5957
* @author Mark Pollack
6058
* @author Dave Syer
6159
* @author Juergen Hoeller

spring-messaging/src/main/java/org/springframework/messaging/converter/MappingJackson2MessageConverter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -52,8 +52,6 @@
5252
* <li>{@link DeserializationFeature#FAIL_ON_UNKNOWN_PROPERTIES} is disabled</li>
5353
* </ul>
5454
*
55-
* <p>Compatible with Jackson 2.9 to 2.12, as of Spring 5.3.
56-
*
5755
* @author Rossen Stoyanchev
5856
* @author Juergen Hoeller
5957
* @author Sebastien Deleuze

spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Decoder.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
import org.springframework.util.MimeType;
5353

5454
/**
55-
* Abstract base class for Jackson 2.14 decoding, leveraging non-blocking parsing.
56-
*
57-
* <p>Compatible with Jackson 2.14, as of Spring 6.0.
55+
* Abstract base class for Jackson 2.x decoding, leveraging non-blocking parsing.
5856
*
5957
* @author Sebastien Deleuze
6058
* @author Rossen Stoyanchev

spring-web/src/main/java/org/springframework/http/codec/json/AbstractJackson2Encoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
import org.springframework.util.MimeType;
6060

6161
/**
62-
* Base class providing support methods for Jackson 2.9 encoding. For non-streaming use
62+
* Base class providing support methods for Jackson 2.x encoding. For non-streaming use
6363
* cases, {@link Flux} elements are collected into a {@link List} before serialization for
6464
* performance reasons.
6565
*

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2CodecSupport.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
import org.springframework.util.ObjectUtils;
4949

5050
/**
51-
* Base class providing support methods for Jackson 2.9 encoding and decoding.
51+
* Base class providing support methods for Jackson 2.x encoding and decoding.
5252
*
5353
* @author Sebastien Deleuze
5454
* @author Rossen Stoyanchev

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
import org.springframework.util.MimeTypeUtils;
3636

3737
/**
38-
* Decode a byte stream into JSON and convert to Object's with Jackson 2.14,
38+
* Decode a byte stream into JSON and convert to Object's with Jackson 2.x,
3939
* leveraging non-blocking parsing.
4040
*
4141
* @author Sebastien Deleuze

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2JsonEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
3535
import org.springframework.util.MimeType;
3636

3737
/**
38-
* Encode from an {@code Object} stream to a byte stream of JSON objects using Jackson 2.9.
38+
* Encode from an {@code Object} stream to a byte stream of JSON objects using Jackson 2.x.
3939
* For non-streaming use cases, {@link Flux} elements are collected into a {@link List}
4040
* before serialization for performance reason.
4141
*

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileDecoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.springframework.util.MimeType;
2525

2626
/**
27-
* Decode a byte stream into Smile and convert to Object's with Jackson 2.14,
27+
* Decode a byte stream into Smile and convert to Object's with Jackson 2.x,
2828
* leveraging non-blocking parsing.
2929
*
3030
* @author Sebastien Deleuze

spring-web/src/main/java/org/springframework/http/codec/json/Jackson2SmileEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2021 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
import org.springframework.util.MimeType;
3131

3232
/**
33-
* Encode from an {@code Object} stream to a byte stream of Smile objects using Jackson 2.9.
33+
* Encode from an {@code Object} stream to a byte stream of Smile objects using Jackson 2.x.
3434
* For non-streaming use cases, {@link Flux} elements are collected into a {@link List}
3535
* before serialization for performance reason.
3636
*

spring-web/src/main/java/org/springframework/http/converter/cbor/MappingJackson2CborHttpMessageConverter.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2020 the original author or authors.
2+
* Copyright 2002-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -37,8 +37,6 @@
3737
* <p>The default constructor uses the default configuration provided by
3838
* {@link Jackson2ObjectMapperBuilder}.
3939
*
40-
* <p>Compatible with Jackson 2.9 to 2.12, as of Spring 5.3.
41-
*
4240
* @author Sebastien Deleuze
4341
* @since 5.0
4442
*/

0 commit comments

Comments
 (0)