diff options
author | 2019-11-28 09:24:00 +0100 | |
---|---|---|
committer | 2019-12-15 16:04:07 +0000 | |
commit | 8acb01dfb8a8fb2f6f77f154382933283b269566 (patch) | |
tree | 4052e145356a401efe1f3fb1ce94433b68eff9cb /common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type | |
parent | a941f3fa78dc1c19ef895e164037cfd6ee98f7ae (diff) |
Fix unprocessed NPE
Process NPE safe way.
Add no NPE failures tests.
Add caught exceptions logging.
Issue-ID: SDC-2694
Signed-off-by: Dmitry Puzikov <d.puzikov2@partner.samsung.com>
Change-Id: Ic1d6e7f9b4f210ac0ca289dc6f44d7c6e15ef126
Diffstat (limited to 'common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type')
-rw-r--r-- | common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java index faefdb0eb3..ce0657240a 100644 --- a/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/main/java/org/onap/config/type/ConfigurationQuery.java @@ -95,4 +95,17 @@ public class ConfigurationQuery { public boolean isLatest() { return latest; } + + @Override + public String toString() { + return "ConfigurationQuery{" + + "tenant='" + tenant + '\'' + + ", namespace='" + namespace + '\'' + + ", key='" + key + '\'' + + ", fallback=" + fallback + + ", externalLookup=" + externalLookup + + ", latest=" + latest + + ", nodeSpecific=" + nodeSpecific + + '}'; + } } |