Browse Source

Polishing

pull/25991/head
Sébastien Deleuze 4 years ago
parent
commit
5b910a87c3
  1. 2
      spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java
  2. 2
      spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufEncoder.java
  3. 2
      spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufHttpMessageWriter.java

2
spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufDecoder.java

@ -67,7 +67,7 @@ import org.springframework.util.MimeType;
* {@code "application/x-protobuf"} and {@code "application/octet-stream"} with * {@code "application/x-protobuf"} and {@code "application/octet-stream"} with
* the official {@code "com.google.protobuf:protobuf-java"} library. * the official {@code "com.google.protobuf:protobuf-java"} library.
* *
* @author Sébastien Deleuze * @author Sebastien Deleuze
* @since 5.1 * @since 5.1
* @see ProtobufEncoder * @see ProtobufEncoder
*/ */

2
spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufEncoder.java

@ -51,7 +51,7 @@ import org.springframework.util.MimeType;
* {@code "application/x-protobuf"} and {@code "application/octet-stream"} with the official * {@code "application/x-protobuf"} and {@code "application/octet-stream"} with the official
* {@code "com.google.protobuf:protobuf-java"} library. * {@code "com.google.protobuf:protobuf-java"} library.
* *
* @author Sébastien Deleuze * @author Sebastien Deleuze
* @since 5.1 * @since 5.1
* @see ProtobufDecoder * @see ProtobufDecoder
*/ */

2
spring-web/src/main/java/org/springframework/http/codec/protobuf/ProtobufHttpMessageWriter.java

@ -45,7 +45,7 @@ import org.springframework.util.ConcurrentReferenceHashMap;
* <p>For {@code HttpMessageReader}, just use * <p>For {@code HttpMessageReader}, just use
* {@code new DecoderHttpMessageReader(new ProtobufDecoder())}. * {@code new DecoderHttpMessageReader(new ProtobufDecoder())}.
* *
* @author Sébastien Deleuze * @author Sebastien Deleuze
* @since 5.1 * @since 5.1
* @see ProtobufEncoder * @see ProtobufEncoder
*/ */

Loading…
Cancel
Save