Skip to content

Commit 5da094f

Browse files
committed
[DOCS] Changes formatting.
1 parent 9f845e0 commit 5da094f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/api-conventions.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,8 @@ features guide you to build and navigate complex nested structures:
157157
use the same conventions as regular properties and accept both a builder lambda
158158
expression and a ready-made object of the actual type of the variant. Here’s an
159159
example to build a term query:
160-
160+
+
161+
--
161162
["source","java"]
162163
--------------------------------------------------
163164
Query query = new Query.Builder()
@@ -170,7 +171,7 @@ Query query = new Query.Builder()
170171
<1> Choose the `term` variant to build a term query.
171172
<2> Build the terms query with a builder lambda expression.
172173
<3> Build the `Query` that now holds a `TermQuery` object with tag `term`.
173-
174+
--
174175

175176
* Variant objects have getter methods for every available implementation. These
176177
methods check that the object actually holds a variant of that type and return

0 commit comments

Comments
 (0)