Sonar major issues 07/68607/1
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>
Mon, 24 Sep 2018 06:30:56 +0000 (12:00 +0530)
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>
Mon, 24 Sep 2018 06:30:56 +0000 (12:00 +0530)
 Replace the type specification in this constructor call with the diamond operator
Sonar Link:
https://sonar.onap.org/project/issues?assignees=sumapriya&id=org.onap.dmaap.messagerouter.msgrtr%3Amsgrtr&open=AV4-Vab632hFUzlqc5oU&resolved=false&severities=MAJOR
Location:
src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java
Line No:L47

Change-Id: I0fc8c1ca870dd4ece37bd7d6526537c87291a5e0
Issue-ID: DMAAP-815
Signed-off-by: Sumapriya Sarvepalli <ss00493505@techmahindra.com>
src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java

index 8ab4619..25cb2df 100644 (file)
@@ -44,7 +44,7 @@ public class MemoryQueue {
         */
        public MemoryQueue() {
                fQueue = new HashMap<>();
-               fOffsets = new HashMap<String, HashMap<String, Integer>>();
+               fOffsets = new HashMap<>();
        }
 
        /**