diff --git a/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java b/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java index 109e79ed3..40b182dd4 100644 --- a/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java +++ b/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java @@ -212,7 +212,7 @@ public class ListUnivariateImpl extends DescriptiveStatistics implements Seriali /** * @see org.apache.commons.math.stat.descriptive.DescriptiveStatistics#getWindowSize */ - public int getWindowSize() { + public synchronized int getWindowSize() { return windowSize; }