diff options
author | Jim Hahn <jrh3@att.com> | 2021-06-18 13:40:05 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-06-18 13:40:05 +0000 |
commit | 459eca92aba02bd5a890265c5097fc793f917360 (patch) | |
tree | c921e0568d6b9bda8173c552a25eeabd799b1e3a /policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java | |
parent | fc1412f6a14cf83e2a74f57bd990fbc3d8a7f277 (diff) | |
parent | 2bcb3ad9fe35ec2a1428f8b6e23ace6b796d9a98 (diff) |
Merge "Use lombok in policy-endpoints"
Diffstat (limited to 'policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java')
-rw-r--r-- | policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java index f339b873..3b35197a 100644 --- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java +++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/utils/DmaapPropertyUtils.java @@ -27,12 +27,15 @@ import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; import org.apache.commons.lang3.StringUtils; import org.onap.policy.common.endpoints.event.comm.bus.internal.BusTopicParams; import org.onap.policy.common.endpoints.event.comm.bus.internal.BusTopicParams.TopicParamsBuilder; import org.onap.policy.common.endpoints.properties.PolicyEndPointProperties; -public class DmaapPropertyUtils { +@NoArgsConstructor(access = AccessLevel.PRIVATE) +public final class DmaapPropertyUtils { private static final Pattern COMMA_SPACE_PAT = Pattern.compile("\\s*,\\s*"); /** @@ -67,10 +70,6 @@ public class DmaapPropertyUtils { PROP_TO_DME = Collections.unmodifiableMap(map); } - private DmaapPropertyUtils() { - // do nothing - } - /** * Makes a topic builder, configuring it with properties that are common to both * sources and sinks. |