diff options
author | liamfallon <liam.fallon@ericsson.com> | 2018-09-16 02:03:12 +0100 |
---|---|---|
committer | liamfallon <liam.fallon@ericsson.com> | 2018-09-16 02:04:11 +0100 |
commit | 952d4f5aab9913f961e77fa0457da5d38f31d94f (patch) | |
tree | d482ebae10ff11b3096dd85d927eca75825574d6 /testsuites/integration/integration-uservice-test/src/test | |
parent | a65e4772f4557a109917532b2d9c49680ce3bb15 (diff) |
Fix Sonar issues in apex
Fixing various Sonar issues in apex.
Issue-ID: POLICY-1034
Change-Id: Ie693637d75bd7e38c71b7ba04886fb75636276ed
Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'testsuites/integration/integration-uservice-test/src/test')
-rw-r--r-- | testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngDepMessagingTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngDepMessagingTest.java b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngDepMessagingTest.java index a306b536e..5251cc078 100644 --- a/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngDepMessagingTest.java +++ b/testsuites/integration/integration-uservice-test/src/test/java/org/onap/policy/apex/testsuites/integration/uservice/engdep/EngDepMessagingTest.java @@ -87,9 +87,9 @@ public class EngDepMessagingTest { contextParameters.getPersistorParameters().setName(ContextParameterConstants.PERSISTENCE_GROUP_NAME); ParameterService.register(contextParameters, true); - ParameterService.register(contextParameters.getDistributorParameters()); - ParameterService.register(contextParameters.getLockManagerParameters()); - ParameterService.register(contextParameters.getPersistorParameters()); + ParameterService.register(contextParameters.getDistributorParameters(), true); + ParameterService.register(contextParameters.getLockManagerParameters(), true); + ParameterService.register(contextParameters.getPersistorParameters(), true); engineServiceParameters = new EngineServiceParameters(); engineServiceParameters.setName("EngDepMessagingTest"); @@ -100,8 +100,8 @@ public class EngDepMessagingTest { engineServiceParameters.getEngineParameters().getExecutorParameterMap().put("MVEL", new MvelExecutorParameters()); - ParameterService.register(engineServiceParameters); - ParameterService.register(engineServiceParameters.getEngineParameters()); + ParameterService.register(engineServiceParameters, true); + ParameterService.register(engineServiceParameters.getEngineParameters(), true); } /** |