diff options
author | Jim Hahn <jrh3@att.com> | 2021-05-21 12:19:44 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-05-21 13:08:54 -0400 |
commit | 601a09fd07960d3aadcf972ba7c72dcea9976aef (patch) | |
tree | 35d368fc7d8c7dd40e1f76b852ad03bee8780e2e /policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java | |
parent | c7d24b07377cb00ce4c0c531c6d3dff25e04dc12 (diff) |
Enhance toString methods in factory classes
The factory classes in policy-endpoints have toString() methods that
return "[]" for their list contents. Updated the code to provide a list
of the keys rather than just an empty list.
Also replaced some toString() methods with lombok.
Also replace StringBuilder with concatenation in some cases.
Issue-ID: POLICY-3298
Change-Id: I64fca21a4b009f7e09fcc482b5d156753fb7e680
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java')
-rw-r--r-- | policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java index edaf4736..09500978 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/IndexedUebTopicSourceFactory.java @@ -211,6 +211,6 @@ class IndexedUebTopicSourceFactory implements UebTopicSourceFactory { @Override public String toString() { - return "IndexedUebTopicSourceFactory []"; + return "IndexedUebTopicSourceFactory " + uebTopicSources.keySet(); } } |