diff options
author | Jim Hahn <jrh3@att.com> | 2019-06-17 10:03:57 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-06-17 10:03:57 -0400 |
commit | bf6126968adcabff605775f554642dfff0644530 (patch) | |
tree | 249d486c7fa37fab1c494e8451efff95bcde768b /controlloop/common/eventmanager/src/main/java | |
parent | dee583c9660357558d11a81387c84a357971708d (diff) |
Change getCanonicalName() to getName() in drools-apps
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: Ie402ab9239b2d5149c420d495f16bb82417d2d25
Issue-ID: POLICY-1646
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'controlloop/common/eventmanager/src/main/java')
-rw-r--r-- | controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/impl/ControlLoopPublisherJUnitImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/impl/ControlLoopPublisherJUnitImpl.java b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/impl/ControlLoopPublisherJUnitImpl.java index 13f52e36e..067663700 100644 --- a/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/impl/ControlLoopPublisherJUnitImpl.java +++ b/controlloop/common/eventmanager/src/main/java/org/onap/policy/controlloop/impl/ControlLoopPublisherJUnitImpl.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * controlloop * ================================================================================ - * 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. @@ -26,6 +26,6 @@ public class ControlLoopPublisherJUnitImpl implements ControlLoopPublisher { @Override public void publish(Object object) { throw new UnsupportedOperationException( - "publish() method is not implemented on " + this.getClass().getCanonicalName()); + "publish() method is not implemented on " + this.getClass().getName()); } } |