Sonar major issues
[dmaap/messagerouter/msgrtr.git] / src / main / java / com / att / dmf / mr / metrics / publisher / CambriaPublisherUtility.java
index 1510c32..46dfa99 100644 (file)
@@ -95,7 +95,7 @@ public class CambriaPublisherUtility
         */
        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;