Merge:occurrences of single exception jdev_excrep
authorJakub Lehotsky <jlehotsky@netbeans.org>
Wed, 25 May 2016 11:00:49 +0200
branchjdev_excrep
changeset 63298507dbdb7192
parent 6327 db99d373ff0c
parent 6328 d384611c4f80
child 6332 5d33e7ded161
Merge:occurrences of single exception
     1.1 --- a/logger/uihandlerserver/src/java/org/netbeans/web/action/DetailAction.java	Thu May 19 18:05:06 2016 +0200
     1.2 +++ b/logger/uihandlerserver/src/java/org/netbeans/web/action/DetailAction.java	Wed May 25 11:00:49 2016 +0200
     1.3 @@ -204,6 +204,12 @@
     1.4          request.setAttribute("jdks", report.getJDKS(em));
     1.5          request.setAttribute("oss", report.getOSes(em));
     1.6          request.setAttribute("versions", report.getVersions(em));
     1.7 +        String occurrences = submit.getAdditionalInfo("exc-repetitions");
     1.8 +        if (occurrences != null && !occurrences.isEmpty()) {
     1.9 +            request.setAttribute("occurrences", occurrences);
    1.10 +        } else {
    1.11 +            request.setAttribute("occurrences", "0");
    1.12 +        }
    1.13  
    1.14  //        request.setAttribute("components", PersistenceUtils.getInstance().getComponents().getComponentsSet());
    1.15  //        request.setAttribute("memory", submit.getLogfileId().getUserMemory(em));