diff --git a/server/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java b/server/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java index 712d7019674..875abaed4bd 100644 --- a/server/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java +++ b/server/src/main/java/org/elasticsearch/index/query/WrapperQueryBuilder.java @@ -45,8 +45,8 @@ import java.util.Arrays; *
*
* BoolQueryBuilder bool = new BoolQueryBuilder();
- * bool.must(new WrapperQueryBuilder("{\"term\": {\"field\":\"value\"}}");
- * bool.must(new TermQueryBuilder("field2","value2");
+ * bool.must(new WrapperQueryBuilder("{\"term\": {\"field\":\"value\"}}"));
+ * bool.must(new TermQueryBuilder("field2","value2"));
*
*
*/