Multiple small changes to reduce technical debt.
[policy/drools-pdp.git] / policy-endpoints / src / main / java / org / onap / policy / drools / http / client / internal / JerseyClient.java
index 5dd9736..9b18cae 100644 (file)
@@ -91,7 +91,7 @@ public class JerseyClient implements HttpClient {
                this.password = password;
                this.selfSignedCerts = selfSignedCerts;
                
-               StringBuffer tmpBaseUrl = new StringBuffer();
+               StringBuilder tmpBaseUrl = new StringBuilder();
                if (this.https) {
                        tmpBaseUrl.append("https://");
                        ClientBuilder clientBuilder;
@@ -195,6 +195,7 @@ public class JerseyClient implements HttpClient {
                return hostname;
        }
 
+       @Override
        public int getPort() {
                return port;
        }