diff options
author | Jim Hahn <jrh3@att.com> | 2021-06-17 15:39:34 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2021-06-17 15:58:25 -0400 |
commit | 585ec0f637f743f54b619f9c78b5baa8f1a1286f (patch) | |
tree | f9aad5520b1ead8bbf5dc02904579d7fcc514372 /models-interactions/model-simulators/src/main | |
parent | 27ac6bce15318a074d4fb53606571eb30e46bf07 (diff) |
Use lombok annotations for sdnr, simulators
Issue-ID: POLICY-3396
Change-Id: I16787f72b0529417c58b9e83a21880baaba92a3d
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-interactions/model-simulators/src/main')
-rw-r--r-- | models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java index 51f2f9d46..8b8526259 100644 --- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java +++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/Util.java @@ -22,6 +22,8 @@ package org.onap.policy.simulators; import java.io.IOException; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; import org.onap.policy.common.endpoints.http.server.HttpServletServer; import org.onap.policy.common.endpoints.http.server.HttpServletServerFactoryInstance; import org.onap.policy.common.endpoints.properties.PolicyEndPointProperties; @@ -34,7 +36,8 @@ import org.onap.policy.models.sim.dmaap.parameters.DmaapSimParameterGroup; import org.onap.policy.models.sim.dmaap.provider.DmaapSimProvider; import org.onap.policy.models.sim.dmaap.rest.DmaapSimRestServer; -public class Util { +@NoArgsConstructor(access = AccessLevel.PRIVATE) +public final class Util { public static final String AAISIM_SERVER_NAME = "aaiSim"; public static final String SOSIM_SERVER_NAME = "soSim"; public static final String VFCSIM_SERVER_NAME = "vfcSim"; @@ -53,10 +56,6 @@ public class Util { private static final String CANNOT_CONNECT = "cannot connect to port "; public static final String LOCALHOST = "localhost"; - private Util() { - // Prevent instantiation of this class - } - /** * Build an A&AI simulator. * |