Skip to content

Commit e6b224a

Browse files
committed
fix: java list
1 parent 97aa813 commit e6b224a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/java/guides/search/searchWithLogicalOr.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public static void main(String[] args) throws Exception {
1212
1313
String query = "the query";
1414
15-
OptionalWords optionalWords = OptionalWords.of(query);
15+
OptionalWords optionalWords = OptionalWords.of(List.of("the", "query"));
1616
1717
SearchParams searchParams = new SearchParamsObject()
1818
.setQuery(query)

0 commit comments

Comments
 (0)