From e7364a7f58ec5c42901e5de445a295d6f782f38b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Mon, 17 Jun 2019 10:42:41 -0400 Subject: Change getCanonicalName() to getName() in drools-pdp Per javadocs, getName() should generally be used instead of Class.getCanonicalName(). This change only applies to classes; it does not apply to File objects. Change-Id: I28df56b3dfd0382239960d7f0f6e1131d702b2ab Issue-ID: POLICY-1646 Signed-off-by: Jim Hahn --- .../src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'feature-healthcheck/src/main/java/org') diff --git a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java index 6b5dcfb8..b1562946 100644 --- a/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java +++ b/feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * feature-healthcheck * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -257,7 +257,7 @@ class HealthCheckMonitor implements HealthCheck { for (HttpServletServer server : servers) { if (server.isAaf()) { - server.addFilterClass(null, AafHealthCheckFilter.class.getCanonicalName()); + server.addFilterClass(null, AafHealthCheckFilter.class.getName()); } startServer(server); } -- cgit 1.2.3-korg