XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: