From f08984b16abf954b7b351f21a3822e21d9d4f7c2 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 1 Jul 2019 09:01:19 +0000 Subject: Fix issues from Checkstyle reviews Use lombok on fields in EnEvent. Remove unnecessary code in BBS WebClient class Address Sonar issue in Execurot class Issue-ID: POLICY-1791 Change-Id: If07dc4529b121f8bfcd6ab1ae6c9def4774f9f4d Signed-off-by: liamfallon --- .../test/java/org/onap/policy/apex/examples/bbs/WebClientTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/examples-onap-bbs/src/test/java/org') diff --git a/examples/examples-onap-bbs/src/test/java/org/onap/policy/apex/examples/bbs/WebClientTest.java b/examples/examples-onap-bbs/src/test/java/org/onap/policy/apex/examples/bbs/WebClientTest.java index 2ff9435b2..e7bba5905 100644 --- a/examples/examples-onap-bbs/src/test/java/org/onap/policy/apex/examples/bbs/WebClientTest.java +++ b/examples/examples-onap-bbs/src/test/java/org/onap/policy/apex/examples/bbs/WebClientTest.java @@ -53,8 +53,8 @@ public class WebClientTest { @Test public void httpsRequest() { WebClient cl = new WebClient(); - String result = cl.httpRequest("https://some.random.url/data", "POST", null, "admin", "admin", - "application/json", true); + String result = + cl.httpRequest("https://some.random.url/data", "POST", null, "admin", "admin", "application/json"); assertNotNull(result); } @@ -62,7 +62,7 @@ public class WebClientTest { public void httpRequest() { WebClient cl = new WebClient(); String result = - cl.httpRequest("http://some.random.url/data", "GET", null, "admin", "admin", "application/json", false); + cl.httpRequest("http://some.random.url/data", "GET", null, "admin", "admin", "application/json"); assertNotNull(result); } -- cgit 1.2.3-korg