Skip to content

Commit cb09c14

Browse files
committed
Remove redundant fields.
JAVA-5813
1 parent 238cada commit cb09c14

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

driver-benchmarks/src/main/com/mongodb/benchmark/benchmarks/AbstractCollectionWriteBenchmark.java

-8
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public abstract class AbstractCollectionWriteBenchmark<T> extends AbstractWriteB
2424

2525
protected MongoCollection<T> collection;
2626
protected MongoDatabase database;
27-
28-
private final String name;
2927
private final Class<T> clazz;
3028

3129
protected AbstractCollectionWriteBenchmark(final String name,
@@ -34,7 +32,6 @@ protected AbstractCollectionWriteBenchmark(final String name,
3432
int numDocuments,
3533
final Class<T> clazz) {
3634
super(name, resourcePath, numIterations, numDocuments, clazz);
37-
this.name = name;
3835
this.clazz = clazz;
3936
}
4037

@@ -51,9 +48,4 @@ public void before() throws Exception {
5148
super.before();
5249
collection.drop();
5350
}
54-
55-
@Override
56-
public String getName() {
57-
return name;
58-
}
5951
}

0 commit comments

Comments
 (0)