Collection syntax change because of Sonar
[aaf/authz.git] / cadi / client / src / main / java / org / onap / aaf / cadi / http / HClient.java
index df8cacf..a3dac7d 100644 (file)
@@ -93,7 +93,7 @@ public class HClient implements EClient<HttpURLConnection> {
        @Override
        public void addHeader(String tag, String value) {
                if (headers == null)
-                       headers = new ArrayList<Header>();
+                       headers = new ArrayList<>();
                headers.add(new Header(tag, value));
        }