Commit afb71568 authored by Dave Syer's avatar Dave Syer

Add missing method for Java 1.7

parent a284d7bd
...@@ -209,6 +209,11 @@ public class MetricRegistryMetricReader implements MetricReader, MetricRegistryL ...@@ -209,6 +209,11 @@ public class MetricRegistryMetricReader implements MetricReader, MetricRegistryL
String name = iterator.next(); String name = iterator.next();
return MetricRegistryMetricReader.this.findOne(name); return MetricRegistryMetricReader.this.findOne(name);
} }
@Override
public void remove() {
throw new UnsupportedOperationException("You cannot remove from this iterator.");
}
} }
......
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