From d806b567e45370d1f6b4dd14bae85c6bae91a75c Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Fri, 16 May 2014 15:08:40 +0200 Subject: [PATCH] Remove dead code --- .../cluster/metadata/BenchmarkMetaData.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java b/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java index 2b53349e261..bbb06ee364e 100644 --- a/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java +++ b/src/main/java/org/elasticsearch/cluster/metadata/BenchmarkMetaData.java @@ -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 {