Sonar major issues
[dmaap/messagerouter/dmaapclient.git] / src / main / java / com / att / nsa / mr / tools / MRCommandContext.java
index 8cc84ef..e512769 100644 (file)
@@ -36,7 +36,7 @@ public class MRCommandContext implements CommandContext
                fApiKey = null;
                fApiPwd = null;
 
-               fCluster = new LinkedList<String> ();
+               fCluster = new LinkedList<> ();
                fCluster.add ( "localhost" );
        }
 
@@ -62,7 +62,7 @@ public class MRCommandContext implements CommandContext
 
        public Collection<String> getCluster ()
        {
-               return new LinkedList<String> ( fCluster );
+               return new LinkedList<> ( fCluster );
        }
 
        public void clearCluster ()