Bump upstreams for Silicon
[neutron.git] / integration / test-standalone / src / main / java / org / opendaylight / neutron / e2etest / HttpUtils.java
index e34c70d15b18a45f5123b3c4e1e11d61ead57b30..e4552d98798439fadfc78596dacdcae82995301d 100644 (file)
@@ -31,6 +31,7 @@ public final class HttpUtils {
 
     }
 
+    // TODO: Java 11+ has HttpClient, we should be using that instead
     static HttpURLConnection httpURLConnectionFactoryGet(URL url) throws IOException {
         HttpURLConnection httpConn = (HttpURLConnection) url.openConnection();
         httpConn.setRequestMethod("GET");
@@ -180,7 +181,7 @@ public final class HttpUtils {
     }
 
     private static String fetchResponse(String urlStr, String context) {
-        StringBuffer response = new StringBuffer();
+        StringBuilder response = new StringBuilder();
 
         try {
             URL url = new URL(urlStr);