Making getMetrics method in class MetricRegistry as protected final instead of private.
This will allow child classes of MetricRegistry to use it, without being able to modify it.
Merge pull request #585 from mh2753/master

Changing access modifier for getMetrics method in class MetricRegistry to protected final instead of private