commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r567815 - /commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java
Date Mon, 20 Aug 2007 20:19:14 GMT
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;
     }
 



Mime
View raw message