From 4d9399ae131e8e682a3e01eefe24679f8719ef30 Mon Sep 17 00:00:00 2001 From: xy Date: Wed, 22 May 2019 09:22:25 +0800 Subject: [PATCH] Fix spelling error of document. There isn't existing Autowire annotation, it should be the Autowired annotation. Update spring-cloud-stream.adoc Resolves #1715 --- docs/src/main/asciidoc/spring-cloud-stream.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-stream.adoc b/docs/src/main/asciidoc/spring-cloud-stream.adoc index 69ecd119d..4364656e2 100644 --- a/docs/src/main/asciidoc/spring-cloud-stream.adoc +++ b/docs/src/main/asciidoc/spring-cloud-stream.adoc @@ -393,7 +393,7 @@ _Autowire Binding interface_ [source, java] ---- -@Autowire +@Autowired private Source source public void sayHello(String name) { @@ -405,7 +405,7 @@ _Autowire individual channel_ [source, java] ---- -@Autowire +@Autowired private MessageChannel output; public void sayHello(String name) { @@ -419,7 +419,7 @@ The following example shows how to use the @Qualifier annotation in this way: [source, java] ---- -@Autowire +@Autowired @Qualifier("myChannel") private MessageChannel output; ----