Deprecate com.mongodb.client.model.FindOptions
@@ -31,7 +31,9 @@ import static com.mongodb.assertions.Assertions.notNull;
* @since 3.0
* @mongodb.driver.manual tutorial/query-documents/ Find
* @mongodb.driver.manual ../meta-driver/latest/legacy/mongodb-wire-protocol/#op-query OP_QUERY
+ * @deprecated there is no replacement for this class
*/
+@Deprecated
public final class FindOptions {
private int batchSize;
private int limit;
@@ -64,7 +66,9 @@ public final class FindOptions {
/**
* Construct a new instance by making a shallow copy of the given model.
* @param from model to copy
+ * @deprecated this constructor is unused
*/
+ @Deprecated
public FindOptions(final FindOptions from) {
batchSize = from.batchSize;
limit = from.limit;
