diff --git a/docs/java-api/index_.asciidoc b/docs/java-api/index_.asciidoc index 4a59f2577a6..0ba4542ffe1 100644 --- a/docs/java-api/index_.asciidoc +++ b/docs/java-api/index_.asciidoc @@ -114,7 +114,7 @@ Note that you can also add arrays with `startArray(String)` and other XContentBuilder objects. If you need to see the generated JSON content, you can use the -@string()@method. +`string()` method. [source,java] --------------------------------------------------