diff options
author | liamfallon <liam.fallon@est.tech> | 2019-08-21 09:39:44 +0000 |
---|---|---|
committer | liamfallon <liam.fallon@est.tech> | 2019-08-21 09:39:44 +0000 |
commit | 5bf11a7500944b8b306c5d4f478e4bc45ef1fb51 (patch) | |
tree | 18b13026a9e84f8a34afec69d5767bd31f702087 /client/client-deployment/src | |
parent | 02bef1fc9ac105939f3f3859265ddd0d6f12068b (diff) |
Fix checkstyle warnings in apex-pdp
Unit tests introduced some checkstyle warnings, this review resolves
those warnings.
Issue-ID: POLICY-1942
Change-Id: I16438621c1db0adfbe70bc8b237d05bd7cc72697
Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'client/client-deployment/src')
6 files changed, 5 insertions, 1 deletions
diff --git a/client/client-deployment/src/main/java/org/onap/policy/apex/client/deployment/rest/ApexDeploymentRestResource.java b/client/client-deployment/src/main/java/org/onap/policy/apex/client/deployment/rest/ApexDeploymentRestResource.java index 55cabe900..4f6e71b2f 100644 --- a/client/client-deployment/src/main/java/org/onap/policy/apex/client/deployment/rest/ApexDeploymentRestResource.java +++ b/client/client-deployment/src/main/java/org/onap/policy/apex/client/deployment/rest/ApexDeploymentRestResource.java @@ -95,7 +95,6 @@ public class ApexDeploymentRestResource { * @param hostName the host name of the engine service to connect to. * @param port the port number of the engine service to connect to. * @param uploadedInputStream input stream - * @param fileDetail details on the file * @param ignoreConflicts conflict policy * @param forceUpdate update policy * @return a response object in plain text confirming the upload was successful diff --git a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentExceptionTest.java b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentExceptionTest.java index fc941acf0..d89f1faa6 100644 --- a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentExceptionTest.java +++ b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentExceptionTest.java @@ -21,6 +21,7 @@ package org.onap.policy.apex.client.deployment.rest; import static org.junit.Assert.assertEquals; + import org.junit.Test; /** diff --git a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestMainTest.java b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestMainTest.java index 2ca12ab9a..12fe8e528 100644 --- a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestMainTest.java +++ b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestMainTest.java @@ -23,6 +23,7 @@ package org.onap.policy.apex.client.deployment.rest; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatCode; import static org.assertj.core.api.Assertions.catchThrowable; + import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.InputStream; diff --git a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestParameterTest.java b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestParameterTest.java index 4fddffaef..16a7b2897 100644 --- a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestParameterTest.java +++ b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/DeploymentRestParameterTest.java @@ -21,6 +21,7 @@ package org.onap.policy.apex.client.deployment.rest; import static org.junit.Assert.assertEquals; + import org.junit.Test; /** diff --git a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/ParameterCheckTest.java b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/ParameterCheckTest.java index a0c4c9c3e..9218347df 100644 --- a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/ParameterCheckTest.java +++ b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/ParameterCheckTest.java @@ -22,6 +22,7 @@ package org.onap.policy.apex.client.deployment.rest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertNull; + import java.util.LinkedHashMap; import java.util.Map; import org.junit.Test; diff --git a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/RestResourceTest.java b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/RestResourceTest.java index e8625af5e..019ccc8cb 100644 --- a/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/RestResourceTest.java +++ b/client/client-deployment/src/test/java/org/onap/policy/apex/client/deployment/rest/RestResourceTest.java @@ -22,6 +22,7 @@ package org.onap.policy.apex.client.deployment.rest; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; + import java.io.ByteArrayInputStream; import java.io.InputStream; import javax.ws.rs.core.Response; |