Remove dead code

This commit is contained in:
Simon Willnauer 2014-05-16 15:08:40 +02:00
parent eef505ed51
commit d806b567e4
1 changed files with 1 additions and 10 deletions

View File

@ -29,7 +29,7 @@ import org.elasticsearch.common.xcontent.XContentParser;
import java.io.IOException;
/**
* Meta data about snapshots that are currently executing
* Meta data about benchmarks that are currently executing
*/
public class BenchmarkMetaData implements MetaData.Custom {
public static final String TYPE = "benchmark";
@ -154,15 +154,6 @@ public class BenchmarkMetaData implements MetaData.Custom {
return this.entries;
}
public Entry snapshot(SnapshotId snapshotId) {
for (Entry entry : entries) {
if (snapshotId.equals(entry.benchmarkId())) {
return entry;
}
}
return null;
}
public static class Factory implements MetaData.Custom.Factory<BenchmarkMetaData> {