Skip to content

Commit 2b17ec6

Browse files
committed
[DOCS] Fine-tune code snippet.
1 parent 17c8a57 commit 2b17ec6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/api-conventions.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +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-
+
161-
--
160+
+
161+
--
162162
["source","java"]
163163
--------------------------------------------------
164164
Query query = new Query.Builder()
@@ -171,7 +171,7 @@ Query query = new Query.Builder()
171171
<1> Choose the `term` variant to build a term query.
172172
<2> Build the terms query with a builder lambda expression.
173173
<3> Build the `Query` that now holds a `TermQuery` object with tag `term`.
174-
--
174+
--
175175

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

0 commit comments

Comments
 (0)