From 9c5d23395918a739b591667edd77e3ced9cd4bfb Mon Sep 17 00:00:00 2001 From: liamfallon Date: Thu, 18 Jun 2020 22:36:23 +0100 Subject: Changes for Checkstyle 8.32 Issue-ID: POLICY-2188 Change-Id: I6db16763c1d2d80ff934302081a8dfc16afa7d9a Signed-off-by: liamfallon --- .../actorserviceprovider/impl/BidirectionalTopicOperatorTest.java | 4 ++-- .../controlloop/actorserviceprovider/impl/OperationPartialTest.java | 2 +- .../actorserviceprovider/parameters/HttpPollingActorParamsTest.java | 1 - .../actorserviceprovider/parameters/HttpPollingParamsTest.java | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'models-interactions/model-actors/actorServiceProvider/src/test') diff --git a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperatorTest.java b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperatorTest.java index 29f507e60..ff59176a1 100644 --- a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperatorTest.java +++ b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/BidirectionalTopicOperatorTest.java @@ -107,7 +107,7 @@ public class BidirectionalTopicOperatorTest { AtomicReference configRef = new AtomicReference<>(); // @formatter:off - OperationMaker> maker = + OperationMaker> maker = (params, config) -> { paramsRef.set(params); configRef.set(config); @@ -150,7 +150,7 @@ public class BidirectionalTopicOperatorTest { } @Override - public BidirectionalTopicOperation buildOperation(ControlLoopOperationParams params) { + public BidirectionalTopicOperation buildOperation(ControlLoopOperationParams params) { return null; } } diff --git a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java index 6d8c60bb6..e2ed2d98f 100644 --- a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java +++ b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/impl/OperationPartialTest.java @@ -140,7 +140,7 @@ public class OperationPartialTest { */ @BeforeClass public static void setUpBeforeClass() throws Exception { - /** + /* * Attach appender to the logger. */ appender.setContext(logger.getLoggerContext()); diff --git a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingActorParamsTest.java b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingActorParamsTest.java index 78240beb6..3202c2e54 100644 --- a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingActorParamsTest.java +++ b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingActorParamsTest.java @@ -31,7 +31,6 @@ import org.junit.Before; import org.junit.Test; import org.onap.policy.common.parameters.ValidationResult; import org.onap.policy.controlloop.actorserviceprovider.Util; -import org.onap.policy.controlloop.actorserviceprovider.parameters.ActorParams; public class HttpPollingActorParamsTest { diff --git a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingParamsTest.java b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingParamsTest.java index e3fef83c5..42a8717bd 100644 --- a/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingParamsTest.java +++ b/models-interactions/model-actors/actorServiceProvider/src/test/java/org/onap/policy/controlloop/actorserviceprovider/parameters/HttpPollingParamsTest.java @@ -77,7 +77,7 @@ public class HttpPollingParamsTest { } private void testValidateField(String fieldName, String expected, - Function, HttpPollingParamsBuilder> makeInvalid) { + Function, HttpPollingParamsBuilder> makeInvalid) { // original params should be valid ValidationResult result = params.validate(CONTAINER); -- cgit 1.2.3-korg