Author: luc
Date: Thu Jan 10 05:59:09 2008
New Revision: 610799
URL: http://svn.apache.org/viewvc?rev=610799&view=rev
Log:
fixed comments typos
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java
commons/proper/math/trunk/src/test/org/apache/commons/math/stat/descriptive/ListUnivariateImpl.java
Modified:
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java?rev=610799&r1=610798&r2=610799&view=diff
==============================================================================
---
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
(original)
+++
commons/proper/math/trunk/src/java/org/apache/commons/math/stat/inference/ChiSquareTestImpl.java
Thu Jan 10 05:59:09 2008
@@ -104,7 +104,7 @@
* expected and observed counts are equal.</p>
*
* @param observed array of observed frequency counts
- * @param expected array of exptected frequency counts
+ * @param expected array of expected frequency counts
* @return p-value
* @throws IllegalArgumentException if preconditions are not met
* @throws MathException if an error occurs computing the p-value
@@ -123,7 +123,7 @@
* expected and observed counts are equal.</p>
*
* @param observed array of observed frequency counts
- * @param expected array of exptected frequency counts
+ * @param expected array of expected frequency counts
* @param alpha significance level of the test
* @return true iff null hypothesis can be rejected with confidence
* 1 - alpha
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java?rev=610799&r1=610798&r2=610799&view=diff
==============================================================================
---
commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java
(original)
+++
commons/proper/math/trunk/src/test/org/apache/commons/math/distribution/IntegerDistributionAbstractTest.java
Thu Jan 10 05:59:09 2008
@@ -133,7 +133,7 @@
//-------------------- Verification methods -------------------------------
/**
- * Verifies that probability density calculations match exptected values
+ * Verifies that probability density calculations match expected values
* using current test instance data
*/
protected void verifyDensities() throws Exception {
@@ -145,7 +145,7 @@
}
/**
- * Verifies that cumulative probability density calculations match
exptected values
+ * Verifies that cumulative probability density calculations match
expected values
* using current test instance data
*/
protected void verifyCumulativeProbabilities() throws Exception {
@@ -157,7 +157,7 @@
}
/**
- * Verifies that inverse cumulative probability density calculations match
exptected values
+ * Verifies that inverse cumulative probability density calculations match
expected values
* using current test instance data
*/
protected void verifyInverseCumulativeProbabilities() throws Exception {
@@ -171,7 +171,7 @@
//------------------------ Default test cases -----------------------------
/**
- * Verifies that probability density calculations match exptected values
+ * Verifies that probability density calculations match expected values
* using default test instance data
*/
public void testDensities() throws Exception {
@@ -179,7 +179,7 @@
}
/**
- * Verifies that cumulative probability density calculations match
exptected values
+ * Verifies that cumulative probability density calculations match
expected values
* using default test instance data
*/
public void testCumulativeProbabilities() throws Exception {
@@ -187,7 +187,7 @@
}
/**
- * Verifies that inverse cumulative probability density calculations match
exptected values
+ * Verifies that inverse cumulative probability density calculations match
expected values
* using default test instance data
*/
public void testInverseCumulativeProbabilities() throws Exception {
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=610799&r1=610798&r2=610799&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
Thu Jan 10 05:59:09 2008
@@ -36,7 +36,7 @@
/**
* Holds a reference to a list - GENERICs are going to make
- * out lives easier here as we could only accept List<Number>
+ * our lives easier here as we could only accept List<Number>
*/
protected List list;