mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Add missing method for Java 1.7
This commit is contained in:
parent
a284d7bd3f
commit
afb7156804
@ -209,6 +209,11 @@ public class MetricRegistryMetricReader implements MetricReader, MetricRegistryL
|
||||
String name = iterator.next();
|
||||
return MetricRegistryMetricReader.this.findOne(name);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void remove() {
|
||||
throw new UnsupportedOperationException("You cannot remove from this iterator.");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user