Enforce order of Javadoc tags for records introduced in 6.2

See gh-33403
This commit is contained in:
Sam Brannen
2024-08-18 13:12:47 +02:00
parent 04271c3ead
commit 59c779d8fe
2 changed files with 18 additions and 8 deletions

View File

@@ -31,15 +31,17 @@ import org.springframework.http.codec.HttpMessageWriter;
import org.springframework.lang.Nullable;
/**
* {@link Encoder} and {@link Decoder} that is able to handle a map to and from
* JSON. Used to configure the jsonpath infrastructure without having a hard
* {@link Encoder} and {@link Decoder} that is able to encode and decode
* a {@link Map} to and from JSON.
*
* <p>Used to configure the jsonpath infrastructure without having a hard
* dependency on the library.
*
* @param encoder the JSON encoder
* @param decoder the JSON decoder
* @author Stephane Nicoll
* @author Rossen Stoyanchev
* @since 6.2
* @param encoder the JSON encoder
* @param decoder the JSON decoder
*/
record JsonEncoderDecoder(Encoder<?> encoder, Decoder<?> decoder) {
@@ -89,7 +91,7 @@ record JsonEncoderDecoder(Encoder<?> encoder, Decoder<?> decoder) {
}
/**
* Find the first suitable {@link Decoder} that can decode a {@link Map} to
* Find the first suitable {@link Decoder} that can decode a {@link Map} from
* JSON.
* @param readers the readers to inspect
* @return a suitable JSON {@link Decoder} or {@code null}