diff options
author | 2018-07-19 22:02:53 +0000 | |
---|---|---|
committer | 2018-07-19 22:02:53 +0000 | |
commit | d12cd3525284cc41414d8fdae09e2ffbc03a1fbb (patch) | |
tree | db38e32b03abddef146f7d02772c4baa3b1ae673 /src/main/java/org/onap/dcae/commonFunction/event | |
parent | b343343f1efd0df9196b27e9e65b783e5e954112 (diff) | |
parent | 129240ca4c0f10cf4916882f99e91072db048a4c (diff) |
Merge "VES collector application settings provider"
Diffstat (limited to 'src/main/java/org/onap/dcae/commonFunction/event')
-rw-r--r-- | src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java b/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java index bef14448..5865b12c 100644 --- a/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java +++ b/src/main/java/org/onap/dcae/commonFunction/event/publishing/DMaaPConfigurationParser.java @@ -59,8 +59,7 @@ public final class DMaaPConfigurationParser { private static Try<Map<String, PublisherConfig>> toConfigMap(AnyNode config) { return Try(() -> usesLegacyFormat(config) ? parseLegacyFormat(config) : parseNewFormat(config)) - .mapFailure(enhanceError( - f("Parsing DMaaP configuration: '%s' failed, probably it is in unexpected format", config))); + .mapFailure(enhanceError(f("Parsing DMaaP configuration: '%s' failed, probably it is in unexpected format", config))); } private static boolean usesLegacyFormat(AnyNode dMaaPConfig) { |