You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2007/08/20 22:19:14 UTC
svn commit: r567815 -
/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java
Author: luc
Date: Mon Aug 20 13:19:12 2007
New Revision: 567815
URL: http://svn.apache.org/viewvc?rev=567815&view=rev
Log:
changed getWindowSized to synchronized since setWindowSize was already synchronized
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java?rev=567815&r1=567814&r2=567815&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java Mon Aug 20 13:19:12 2007
@@ -212,7 +212,7 @@
/**
* @see org.apache.commons.math.stat.descriptive.DescriptiveStatistics#getWindowSize
*/
- public int getWindowSize() {
+ public synchronized int getWindowSize() {
return windowSize;
}