Sonar majior issues
[dmaap/messagerouter/dmaapclient.git] / src / main / java / org / onap / dmaap / mr / client / impl / MRConstants.java
index f6d9578..5ed44c6 100644 (file)
@@ -110,7 +110,7 @@ class MRConstants
         */
        public static List<HttpHost> createHostsList(Collection<String> hosts)
        {
-               final ArrayList<HttpHost> convertedHosts = new ArrayList<HttpHost> ();
+               final ArrayList<HttpHost> convertedHosts = new ArrayList<> ();
                for ( String host : hosts )
                {
                        if ( host.length () == 0 ) continue;