From fe85d180b5678b6ca8ff0fdce9074e303d8859ef Mon Sep 17 00:00:00 2001 From: Martijn Haex Date: Wed, 1 Feb 2017 20:55:48 +0100 Subject: [PATCH] Fix typo for transforming a String message to uppercase. --- .../src/main/asciidoc/spring-cloud-stream-overview.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc index 738712736..4b8eaf845 100644 --- a/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc +++ b/spring-cloud-stream-core-docs/src/main/asciidoc/spring-cloud-stream-overview.adoc @@ -419,7 +419,7 @@ Or you can use a processor's channels in a transformer: public class TransformProcessor { @Transformer(inputChannel = Processor.INPUT, outputChannel = Processor.OUTPUT) public Object transform(String message) { - return message.toUpper(); + return message.toUpperCase(); } } ----