Skip to content

Commit

Permalink
Merge pull request #25539 from diguage
Browse files Browse the repository at this point in the history
* pr/25539:
  Fix asciidoctor syntax for source

Closes gh-25539
  • Loading branch information
snicoll committed Aug 6, 2020
2 parents 96da1ff + 5cb2cc2 commit b684273
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/docs/asciidoc/integration.adoc
Expand Up @@ -1217,7 +1217,7 @@ To send multipart data, you need to provide a `MultiValueMap<String, Object>` wh
may be an `Object` for part content, a `Resource` for a file part, or an `HttpEntity` for
part content with headers. For example:

[source,java,intent=0]
[source,java,indent=0]
[subs="verbatim,quotes"]
----
MultiValueMap<String, Object> parts = new LinkedMultiValueMap<>();
Expand All @@ -1238,7 +1238,7 @@ explicitly provide the `MediaType` with an `HttpEntity` wrapper.

Once the `MultiValueMap` is ready, you can pass it to the `RestTemplate`, as show below:

[source,java,intent=0]
[source,java,indent=0]
[subs="verbatim,quotes"]
----
MultiValueMap<String, Object> parts = ...;
Expand Down

0 comments on commit b684273

Please sign in to comment.