Fix for casting/subclassing in MetricRegistry 95/79095/4
authorJoss Armstrong <joss.armstrong@ericsson.com>
Mon, 25 Feb 2019 10:32:13 +0000 (10:32 +0000)
committerTakamune Cho <takamune.cho@att.com>
Tue, 26 Feb 2019 15:33:58 +0000 (15:33 +0000)
commitb0b57534dd4e69913753b9acf1c3a495b7738f6a
tree199ce34fd017a217588986d69e1e3152fe54ae61
parent423a91b62f381167bf7852c4ac987b96ba06f35c
Fix for casting/subclassing in MetricRegistry

Put in code to avoid cast exceptions from this class
and updated tests

Issue-ID: APPC-1480
Change-Id: I8b54d93e52eb523f08d13e874b4d18d05feede6b
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
appc-metric/appc-metric-bundle/src/main/java/org/onap/appc/metricservice/impl/MetricRegistryImpl.java
appc-metric/appc-metric-bundle/src/test/java/org/onap/appc/metricservice/impl/MetricRegistryImplTest.java