From ea2425bb3a07711c6a6a66dcede24e199a788bf5 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Fri, 19 Jun 2020 14:55:44 -0400 Subject: Changes for Checkstyle 8.32 Issue-ID: POLICY-2188 Change-Id: I64a115240a71e5014db9cfb66747887e156afb50 Signed-off-by: Taka Cho --- .../org/onap/policy/pdpx/main/comm/XacmlPdpHearbeatPublisherTest.java | 2 +- .../test/java/org/onap/policy/pdpx/main/rest/TestStatisticsReport.java | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'main/src/test/java/org/onap') diff --git a/main/src/test/java/org/onap/policy/pdpx/main/comm/XacmlPdpHearbeatPublisherTest.java b/main/src/test/java/org/onap/policy/pdpx/main/comm/XacmlPdpHearbeatPublisherTest.java index f391605a..550091fa 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/comm/XacmlPdpHearbeatPublisherTest.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/comm/XacmlPdpHearbeatPublisherTest.java @@ -170,7 +170,7 @@ public class XacmlPdpHearbeatPublisherTest { // create a plain listener to test the "real" makeTimer() method publisher = new XacmlPdpHearbeatPublisher(client, state); - assertThatCode( () -> { + assertThatCode(() -> { publisher.start(); publisher.restart(100L); publisher.terminate(); diff --git a/main/src/test/java/org/onap/policy/pdpx/main/rest/TestStatisticsReport.java b/main/src/test/java/org/onap/policy/pdpx/main/rest/TestStatisticsReport.java index d26d08d1..550248b9 100644 --- a/main/src/test/java/org/onap/policy/pdpx/main/rest/TestStatisticsReport.java +++ b/main/src/test/java/org/onap/policy/pdpx/main/rest/TestStatisticsReport.java @@ -1,6 +1,6 @@ /*- * ============LICENSE_START======================================================= - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,7 +27,6 @@ import com.openpojo.validation.rule.impl.GetterMustExistRule; import com.openpojo.validation.rule.impl.SetterMustExistRule; import com.openpojo.validation.test.impl.GetterTester; import com.openpojo.validation.test.impl.SetterTester; - import org.junit.Test; import org.onap.policy.common.utils.test.ToStringTester; import org.onap.policy.pdpx.main.rest.model.StatisticsReport; -- cgit 1.2.3-korg