Commit 819dca1e authored by Daniel Bluhm's avatar Daniel Bluhm
Browse files

Remove deprecated count call



Replaced with countDocuments
Signed-off-by: Daniel Bluhm's avatarDaniel Bluhm <bluhmdj@ornl.gov>
parent 3f6b403b
...@@ -64,7 +64,7 @@ public class $class implements $interface<$elementInterface> { ...@@ -64,7 +64,7 @@ public class $class implements $interface<$elementInterface> {
*/ */
@Override @Override
public long clear() throws Exception { public long clear() throws Exception {
long count = this.collection.count(); long count = this.collection.countDocuments();
this.collection.drop(); this.collection.drop();
return count; return count;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment