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 8869abfb2f6..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}.
*
@@ -299,7 +299,7 @@ public class ProtobufDecoder extends ProtobufCodecSupport implements Decoder Parses the message size as a variant from the input stream.
* Inspired by {@link CodedInputStream#readRawVarint32(int, java.io.InputStream)},
* @see Base 128 Varints
*/