mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
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);