XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.4.CR2
    • None
    • EJB2
    • None

      public String toString()
      {
      StringBuffer tmp = new StringBuffer("<InvocationStatistics concurrentCalls='");
      tmp.append(concurrentCalls);
      tmp.append("' >\n");

      HashMap copy = new HashMap(methodStats);
      Iterator iter = copy.entrySet().iterator();
      while (iter.hasNext())
      {
      Map.Entry entry = (Map.Entry) iter.next();
      TimeStatistic stat = (TimeStatistic) entry.getValue();
      tmp.append("<method name='");
      tmp.append(entry.getKey());
      tmp.append("' count='");
      tmp.append(stat.count);

      stat could be null

              adrian.brock Adrian Brock (Inactive)
              adrian.brock Adrian Brock (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: