This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new f9083cc  Use windowsize while creating DescriptiveStatistics
f9083cc is described below

commit f9083cc1533496444b28c24557d98d3ea9f9d409
Author: Felix Schumacher <[email protected]>
AuthorDate: Fri Jun 4 07:55:30 2021 +0200

    Use windowsize while creating DescriptiveStatistics
    
    Part of Bugzilla Id: 65353
---
 .../apache/jmeter/report/processor/DescriptiveStatisticsFactory.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/core/src/main/java/org/apache/jmeter/report/processor/DescriptiveStatisticsFactory.java
 
b/src/core/src/main/java/org/apache/jmeter/report/processor/DescriptiveStatisticsFactory.java
index 7b03408..cc1dcc5 100644
--- 
a/src/core/src/main/java/org/apache/jmeter/report/processor/DescriptiveStatisticsFactory.java
+++ 
b/src/core/src/main/java/org/apache/jmeter/report/processor/DescriptiveStatisticsFactory.java
@@ -36,7 +36,7 @@ public class DescriptiveStatisticsFactory {
     }
 
     public static DescriptiveStatistics createDescriptiveStatistics(int 
windowSize) {
-        DescriptiveStatistics statistics = new DescriptiveStatistics();
+        DescriptiveStatistics statistics = new 
DescriptiveStatistics(windowSize);
         statistics.setPercentileImpl(new 
Percentile().withEstimationType(ESTIMATION_TYPE));
         return statistics;
     }

Reply via email to