Skip to content

Commit c4bf4bf

Browse files
committed
Fix spelling in Javadoc
1 parent 7a61888 commit c4bf4bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/StatisticalReferenceDataset.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public int getNumParameters() {
233233
}
234234

235235
/**
236-
* Returns the certified values of the paramters.
236+
* Returns the certified values of the parameters.
237237
*
238238
* @return the values of the parameters
239239
*/

commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/fitting/leastsquares/StatisticalReferenceDatasetFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ private StatisticalReferenceDatasetFactory() {
3838
*
3939
* @param name the name of the resource
4040
* @return a buffered reader
41-
* @throws IOException if an I/O error occured
41+
* @throws IOException if an I/O error occurred
4242
*/
4343
public static BufferedReader createBufferedReaderFromResource(final String name)
4444
throws IOException {

commons-math-legacy/src/test/java/org/apache/commons/math4/legacy/optim/nonlinear/scalar/noderiv/PowellOptimizerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public double value(double[] x) {
198198
final double funcScaledValue = funcScaled.value(funcScaledResult.getPoint());
199199
final int funcScaledEvaluations = optim.getEvaluations();
200200

201-
// Check that both minima provide the same objective funciton values,
201+
// Check that both minima provide the same objective function values,
202202
// within the relative function tolerance.
203203
Assert.assertEquals(1, funcScaledValue / (scale * funcValue), relTol);
204204

0 commit comments

Comments
 (0)