aboutsummaryrefslogtreecommitdiffstats
path: root/standardization/moher-api
diff options
context:
space:
mode:
authorFilip Krzywka <filip.krzywka@nokia.com>2019-06-04 10:45:56 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2019-06-07 07:09:59 +0000
commit46a7af8789a80455efb13a4dd0180e0a39f7eb64 (patch)
tree1b86f9fb67c681d2967d5d307c6f362a0e3b3ba6 /standardization/moher-api
parent13cc0bf2987cd12bccf131fd99019d8e16c6c07d (diff)
Suppress wrongly detected rule
Change-Id: I6e16095fa59585ade39bfe582d9f5cb9e2842dea Issue-ID: DCAEGEN2-1522 Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'standardization/moher-api')
-rw-r--r--standardization/moher-api/metrics/src/main/java/org/onap/dcaegen2/services/sdk/standardization/moher/metrics/impl/MetricsImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/standardization/moher-api/metrics/src/main/java/org/onap/dcaegen2/services/sdk/standardization/moher/metrics/impl/MetricsImpl.java b/standardization/moher-api/metrics/src/main/java/org/onap/dcaegen2/services/sdk/standardization/moher/metrics/impl/MetricsImpl.java
index 5fe4e12a..e592d976 100644
--- a/standardization/moher-api/metrics/src/main/java/org/onap/dcaegen2/services/sdk/standardization/moher/metrics/impl/MetricsImpl.java
+++ b/standardization/moher-api/metrics/src/main/java/org/onap/dcaegen2/services/sdk/standardization/moher/metrics/impl/MetricsImpl.java
@@ -51,6 +51,7 @@ public class MetricsImpl implements Metrics {
.map((l) -> registry.scrape());
}
+ @SuppressWarnings("squid:S2095")
public void configureDefaultMetrics(){
new ClassLoaderMetrics().bindTo(registry);
new JvmThreadMetrics().bindTo(registry);