File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
driver-core/src/main/com/mongodb/client/model/search Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,8 +64,8 @@ public interface FuzzySearchOptions extends Bson {
6464 * The following code creates two functionally equivalent {@link FuzzySearchOptions} objects,
6565 * though they may not be {@linkplain Object#equals(Object) equal}.
6666 * <pre>{@code
67- * FuzzySearchOptions options1 = FuzzySearchOptions.fuzzySearchOptions().maxEdits(1)
68- * FuzzySearchOptions options2 = FuzzySearchOptions.fuzzySearchOptions().option("maxEdits", 1)
67+ * FuzzySearchOptions options1 = FuzzySearchOptions.fuzzySearchOptions().maxEdits(1);
68+ * FuzzySearchOptions options2 = FuzzySearchOptions.fuzzySearchOptions().option("maxEdits", 1);
6969 * }</pre>
7070 *
7171 * @param name The option name.
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ public interface SearchOptions extends Bson {
7575 * The following code creates two functionally equivalent {@link SearchOptions} objects,
7676 * though they may not be {@linkplain Object#equals(Object) equal}.
7777 * <pre>{@code
78- * SearchOptions options1 = SearchOptions.defaultSearchOptions().index("indexName")
79- * SearchOptions options2 = SearchOptions.defaultSearchOptions().option("index", "indexName")
78+ * SearchOptions options1 = SearchOptions.defaultSearchOptions().index("indexName");
79+ * SearchOptions options2 = SearchOptions.defaultSearchOptions().option("index", "indexName");
8080 * }</pre>
8181 *
8282 * @param name The option name.
You can’t perform that action at this time.
0 commit comments