From dd429f69519c818349e29c25239a821d55ecc00a Mon Sep 17 00:00:00 2001 From: Andy Costanza Date: Tue, 22 Nov 2022 09:48:56 +0100 Subject: [PATCH] Fix sample code's syntax highlighting to match the fragment's language. Resolves #1299. --- src/main/asciidoctor/client.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/asciidoctor/client.adoc b/src/main/asciidoctor/client.adoc index 8c61f275..32795e19 100644 --- a/src/main/asciidoctor/client.adoc +++ b/src/main/asciidoctor/client.adoc @@ -178,7 +178,7 @@ In addition to a message sender, the `WebServiceTemplate` requires a web service The `WebServiceTemplate` contains many convenience methods to send and receive web service messages. There are methods that accept and return a `Source` and those that return a `Result`. Additionally, there are methods that marshal and unmarshal objects to XML. The following example sends a simple XML message to a web service: ==== -[source,xml,subs="verbatim,quotes"] +[source,java,subs="verbatim,quotes"] ---- import java.io.StringReader; import javax.xml.transform.stream.StreamResult;