Skip to content

Commit 0d28a1c

Browse files
committed
Polish
1 parent 4d962a1 commit 0d28a1c

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-core/src/main/java/org/springframework/core/codec/DecodingException.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
package org.springframework.core.codec;
1717

1818
/**
19-
* Indicates an issue with decoding the input stream with the focus on indicating
20-
* a content issue such as a parse failure. As opposed to a more general I/O
19+
* Indicates an issue with decoding the input stream with a focus on content
20+
* related issues such as a parse failure. As opposed to more general I/O
2121
* errors, illegal state, or a {@link CodecException} such as a configuration
2222
* issue that a {@link Decoder} may choose to raise.
2323
*
24-
* <p>For example in a web application, a server side {@code DecodingException}
25-
* would translate to a response with a 400 (bad input) status while
24+
* <p>For example in server web application, a {@code DecodingException} would
25+
* translate to a response with a 400 (bad input) status while
2626
* {@code CodecException} would translate to 500 (server error) status.
2727
*
2828
* @author Rossen Stoyanchev

spring-core/src/main/java/org/springframework/core/codec/EncodingException.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
/**
1919
* Indicates an issue with encoding the input Object stream with a focus on
20-
* indicating the Objects cannot be encoded. As opposed to a more general
21-
* {@link CodecException} such as a configuration issue that an {@link Encoder}
22-
* may also choose to raise.
20+
* not being able to encode Objects. As opposed to a more general I/O errors
21+
* or a {@link CodecException} such as a configuration issue that an
22+
* {@link Encoder} may also choose to raise.
2323
*
2424
* @author Rossen Stoyanchev
2525
* @since 5.0

0 commit comments

Comments
 (0)