diff options
Diffstat (limited to 'POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java')
-rw-r--r-- | POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java b/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java index 40917bc81..0e7c0561e 100644 --- a/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java +++ b/POLICY-SDK-APP/src/main/java/org/onap/policy/admin/RESTfulPAPEngine.java @@ -81,7 +81,7 @@ public class RESTfulPAPEngine extends StdPDPItemSetChangeNotifier implements PAP * Set up link with PAP Servlet and get our initial set of Groups * @throws Exception */ - public RESTfulPAPEngine (String myURLString) throws PAPException, IOException { + public RESTfulPAPEngine (String myURLString) throws PAPException { // // Get our URL to the PAP servlet // @@ -358,9 +358,9 @@ public class RESTfulPAPEngine extends StdPDPItemSetChangeNotifier implements PAP try { String fullURL = papServletURLString; if (parameters != null && parameters.length > 0) { - String queryString = ""; + StringBuilder queryString = new StringBuilder(); for (String p : parameters) { - queryString += "&" + p; + queryString.append("&" + p); } fullURL += "?" + queryString.substring(1); } |