void (WSStats allStat, StringBuffer sb, StatDescriptor statMember) { sb.append(statMember.toString()); sb.append(": ["); WSStatistic[] statistics = allStat.getStatistics(); for (int j = 0; j < statistics.length; j++) { WSStatistic statistic = statistics[j]; sb.append(statistic.getId()). append('='). append(statistic.getName()); if (j < statistics.length - 1) { sb.append(", "); } } sb.append("]\n"); }