From 358526be041a170ab0b5e9698e06cec36413bc91 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Fri, 12 Feb 2021 05:32:54 +0100 Subject: [PATCH] Fix SampleStatistic.toString: mean dispay the max (#5962) Signed-off-by: Nicolas Trangosi --- .../java/org/eclipse/jetty/util/statistic/SampleStatistic.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/statistic/SampleStatistic.java b/jetty-util/src/main/java/org/eclipse/jetty/util/statistic/SampleStatistic.java index d98b0a1004c..c183e8b1d58 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/statistic/SampleStatistic.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/statistic/SampleStatistic.java @@ -119,6 +119,6 @@ public class SampleStatistic @Override public String toString() { - return String.format("%s@%x{count=%d,mean=%d,total=%d,stddev=%f}", getClass().getSimpleName(), hashCode(), getCount(), getMax(), getTotal(), getStdDev()); + return String.format("%s@%x{count=%d,max=%d,mean=%f,total=%d,stddev=%f}", getClass().getSimpleName(), hashCode(), getCount(), getMax(), getMean(), getTotal(), getStdDev()); } }