Skip to content

Commit d459ebd

Browse files
committed
Fix NOTE typo in the Core Doc
**Cherry-pick to 2.0.x**
1 parent baa2581 commit d459ebd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1665,7 +1665,7 @@ But what if the payload type matches the target type declared by the handler met
16651665
payload is passed unmodified. While this sounds pretty straightforward and logical, keep in mind handler methods that take a `Message<?>` or `Object` as an argument.
16661666
By declaring the target type to be `Object` (which is an `instanceof` everything in Java), you essentially forfeit the conversion process.
16671667

1668-
NOTEDo not expect `Message` to be converted into some other type based only on the `contentType`.
1668+
NOTE: Do not expect `Message` to be converted into some other type based only on the `contentType`.
16691669
Remember that the `contentType` is complementary to the target type.
16701670
If you wish, you can provide a hint, which `MessageConverter` may or may not take into consideration.
16711671

0 commit comments

Comments
 (0)