Remove dead code
This commit is contained in:
parent
eef505ed51
commit
d806b567e4
|
@ -29,7 +29,7 @@ import org.elasticsearch.common.xcontent.XContentParser;
|
||||||
import java.io.IOException;
|
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 class BenchmarkMetaData implements MetaData.Custom {
|
||||||
public static final String TYPE = "benchmark";
|
public static final String TYPE = "benchmark";
|
||||||
|
@ -154,15 +154,6 @@ public class BenchmarkMetaData implements MetaData.Custom {
|
||||||
return this.entries;
|
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> {
|
public static class Factory implements MetaData.Custom.Factory<BenchmarkMetaData> {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue