diff options
author | Jim Hahn <jrh3@att.com> | 2019-06-17 10:42:41 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-06-17 10:42:41 -0400 |
commit | e7364a7f58ec5c42901e5de445a295d6f782f38b (patch) | |
tree | 8fc8272cdb46616661f5360946952c17c34f9cef /feature-healthcheck/src/main/java/org | |
parent | 0d7a5339ba139cdc8a480873240aae4a67abbc37 (diff) |
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 <jrh3@att.com>
Diffstat (limited to 'feature-healthcheck/src/main/java/org')
-rw-r--r-- | feature-healthcheck/src/main/java/org/onap/policy/drools/healthcheck/HealthCheck.java | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |