From a89f7014aeb71dba5c94404dfea7eb89e7eeee74 Mon Sep 17 00:00:00 2001
From: Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Date: Wed, 08 Jul 2015 06:48:02 +0000
Subject: [PATCH] AutoRefactor'ed Use Diamond Operator
---
opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileViewer.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileViewer.java b/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileViewer.java
index 12278ff..cb3e6f6 100644
--- a/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileViewer.java
+++ b/opendj-server-legacy/src/main/java/org/opends/server/plugins/profiler/ProfileViewer.java
@@ -206,8 +206,8 @@
*/
public ProfileViewer()
{
- rootFrames = new HashMap<ProfileStackFrame,ProfileStackFrame>();
- stacksByMethod = new HashMap<String,HashMap<ProfileStack,Long>>();
+ rootFrames = new HashMap<>();
+ stacksByMethod = new HashMap<>();
totalDuration = 0;
totalIntervals = 0;
}
@@ -273,7 +273,7 @@
stacksByMethod.get(classAndMethod);
if (stackMap == null)
{
- stackMap = new HashMap<ProfileStack,Long>();
+ stackMap = new HashMap<>();
stacksByMethod.put(classAndMethod, stackMap);
}
stackMap.put(stack, count);
--
Gitblit v1.10.0