Replace the type specification in this constructor call with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=surendraReddy&id=org.onap.dmaap.messagerouter.dmaapclient%3AdmaapClient&open=AV4-MbQo32hFUzlqc5Zw&resolved=false&rules=squid%3AS2293&severities=MAJOR
Location:
src/main/java/org/onap/dmaap/mr/client/impl/MRConstants.java
Line No-113
Change-Id: I2b9c7963a4518c99488c0c9ec5e33b1f280d446a
Issue-ID: DMAAP-1002
Signed-off-by: Surendra Reddy Katam <SK00524980@techmahindra.com>
         */
        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;