[MATH-760] Made DescriptiveStatistics#windowSize private. Thanks to sebb.

This commit is contained in:
Thomas Neidhart 2015-02-16 23:50:24 +01:00
parent 07defdaaef
commit d0721feadc
2 changed files with 4 additions and 1 deletions

View File

@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces!
</release>
<release version="4.0" date="XXXX-XX-XX" description="">
<action dev="tn" type="update" issue="MATH-760" due-to="sebb">
Field "windowSize" in "DescriptiveStatistics" has been made private.
</action>
<action dev="sebb" type="add" issue="MATH-1198">
Simplified "FastMath#exp(double)" in order to avoid a potential
Java 1.5 JIT bug when calling with negative infinity as argument.

View File

@ -73,7 +73,7 @@ public class DescriptiveStatistics implements StatisticalSummary, Serializable {
private static final String SET_QUANTILE_METHOD_NAME = "setQuantile";
/** hold the window size **/
protected int windowSize = INFINITE_WINDOW;
private int windowSize = INFINITE_WINDOW;
/**
* Stored data values