summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 12:00:56 +0530
committerSumapriya Sarvepalli <ss00493505@techmahindra.com>2018-09-24 12:00:56 +0530
commitc8285dfb45759949830ea13be4073f0e295aada9 (patch)
tree63e10d45a2ed62645ac307b13eb31409bc1c3aca
parent967fd7d538d81516650ab3628bfc85f053f83306 (diff)
Sonar major issues
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>
-rw-r--r--src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java b/src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java
index 8ab4619..25cb2df 100644
--- a/src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java
+++ b/src/main/java/com/att/dmf/mr/backends/memory/MemoryQueue.java
@@ -44,7 +44,7 @@ public class MemoryQueue {
*/
public MemoryQueue() {
fQueue = new HashMap<>();
- fOffsets = new HashMap<String, HashMap<String, Integer>>();
+ fOffsets = new HashMap<>();
}
/**