From b90624472e2e9284b216a019f727675cc532b43c Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Tue, 21 Jul 2026 11:57:20 +0300 Subject: [PATCH] Polish Javadoc for ProtobufDecoder --- .../http/codec/protobuf/ProtobufDecoder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java b/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java index daaaf8a6f59..442e255d02c 100644 --- a/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java +++ b/spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java @@ -47,7 +47,7 @@ import org.springframework.util.MimeType; * A {@code Decoder} that reads {@link com.google.protobuf.Message}s using * Google Protocol Buffers. * - *

Flux deserialized via + *

Flux values deserialized via * {@link #decode(Publisher, ResolvableType, MimeType, Map)} are expected to use * * delimited Protobuf messages with the size of each message specified before @@ -56,7 +56,7 @@ import org.springframework.util.MimeType; * to use regular Protobuf message format (without the size prepended before * the message). * - *

Notice that default instance of Protobuf message produces empty byte + *

Notice that the default instance of a Protobuf message produces an empty byte * array, so {@code Mono.just(Msg.getDefaultInstance())} sent over the network * will be deserialized as an empty {@link Mono}. * @@ -308,7 +308,7 @@ public class ProtobufDecoder extends ProtobufCodecSupport implements DecoderParses the message size as a varint from the input stream. + *

Parses the message size as a variant from the input stream. * Inspired by {@link CodedInputStream#readRawVarint32(int, java.io.InputStream)}, * @see Base 128 Varints */