From 9c0c0c8f61a08aec5c95ebb90647a0aae445e129 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Fri, 19 Jun 2020 17:04:51 +0100 Subject: Changes for checkstyle 8.32 Issue-ID: POLICY-2188 Change-Id: I56bbf3aa3bd9e1ef433cc93ad2be0c54d141a2a5 Signed-off-by: liamfallon --- .../org/onap/policy/apex/domains/onap/vcpe/AppcResponseCreator.java | 2 -- .../org/onap/policy/apex/domains/onap/vcpe/OnapVCpeSimEndpoint.java | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'examples/examples-onap-vcpe/src/test/java/org/onap') diff --git a/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/AppcResponseCreator.java b/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/AppcResponseCreator.java index 63ca3cd26..afbc3f280 100644 --- a/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/AppcResponseCreator.java +++ b/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/AppcResponseCreator.java @@ -23,12 +23,10 @@ package org.onap.policy.apex.domains.onap.vcpe; import com.google.gson.Gson; import com.google.gson.GsonBuilder; - import java.time.Instant; import java.util.Timer; import java.util.TimerTask; import java.util.concurrent.BlockingQueue; - import org.onap.policy.appclcm.AppcLcmBody; import org.onap.policy.appclcm.AppcLcmDmaapWrapper; import org.onap.policy.appclcm.AppcLcmInput; diff --git a/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVCpeSimEndpoint.java b/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVCpeSimEndpoint.java index f228ccd76..c275df18f 100644 --- a/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVCpeSimEndpoint.java +++ b/examples/examples-onap-vcpe/src/test/java/org/onap/policy/apex/domains/onap/vcpe/OnapVCpeSimEndpoint.java @@ -28,7 +28,6 @@ import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.google.gson.JsonElement; import com.google.gson.JsonParser; - import java.io.IOException; import java.time.Instant; import java.util.Map; @@ -37,14 +36,12 @@ import java.util.concurrent.BlockingQueue; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; - import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.PUT; import javax.ws.rs.Path; import javax.ws.rs.QueryParam; import javax.ws.rs.core.Response; - import org.onap.policy.apex.core.infrastructure.threading.ThreadUtilities; import org.onap.policy.common.utils.resources.TextFileUtils; import org.onap.policy.controlloop.util.Serialization; @@ -243,8 +240,7 @@ public class OnapVCpeSimEndpoint { return Response.status(200).entity(appcResponse).build(); } timeLeft -= 100; - } - while (timeLeft > 0); + } while (timeLeft > 0); return Response.status(200).build(); } -- cgit 1.2.3-korg