commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ki...@apache.org
Subject [math] Fixed typos
Date Sun, 19 Mar 2017 11:46:17 GMT
Repository: commons-math
Updated Branches:
  refs/heads/master 37c3d36c8 -> a776a2365


Fixed typos


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/a776a236
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/a776a236
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/a776a236

Branch: refs/heads/master
Commit: a776a236589d4f93c955e0099458106d5c6175ed
Parents: 37c3d36
Author: Bruno P. Kinoshita <brunodepaulak@yahoo.com.br>
Authored: Mon Mar 20 00:43:31 2017 +1300
Committer: Bruno P. Kinoshita <brunodepaulak@yahoo.com.br>
Committed: Mon Mar 20 00:43:31 2017 +1300

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math4/util/FastMath.java        | 4 ++--
 .../org/apache/commons/math4/ode/TestFieldProblemAbstract.java   | 2 +-
 .../java/org/apache/commons/math4/ode/TestProblemAbstract.java   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/a776a236/src/main/java/org/apache/commons/math4/util/FastMath.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/util/FastMath.java b/src/main/java/org/apache/commons/math4/util/FastMath.java
index dbcd266..bf41840 100644
--- a/src/main/java/org/apache/commons/math4/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math4/util/FastMath.java
@@ -3777,9 +3777,9 @@ public class FastMath {
         }
     }
 
-    /** Convert a long to interger, detecting overflows
+    /** Convert a long to integer, detecting overflows
      * @param n number to convert to int
-     * @return integer with same valie as n if no overflows occur
+     * @return integer with same value as n if no overflows occur
      * @exception MathArithmeticException if n cannot fit into an int
      * @since 3.4
      */

http://git-wip-us.apache.org/repos/asf/commons-math/blob/a776a236/src/test/java/org/apache/commons/math4/ode/TestFieldProblemAbstract.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/ode/TestFieldProblemAbstract.java b/src/test/java/org/apache/commons/math4/ode/TestFieldProblemAbstract.java
index b8e5f08..5a506b6 100644
--- a/src/test/java/org/apache/commons/math4/ode/TestFieldProblemAbstract.java
+++ b/src/test/java/org/apache/commons/math4/ode/TestFieldProblemAbstract.java
@@ -154,7 +154,7 @@ public abstract class TestFieldProblemAbstract<T extends RealFieldElement<T>>
 
     /**
      * Get the number of calls.
-     * @return nuber of calls
+     * @return number of calls
      */
     public int getCalls() {
         return calls;

http://git-wip-us.apache.org/repos/asf/commons-math/blob/a776a236/src/test/java/org/apache/commons/math4/ode/TestProblemAbstract.java
----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/commons/math4/ode/TestProblemAbstract.java b/src/test/java/org/apache/commons/math4/ode/TestProblemAbstract.java
index baa1ba1..6b93644 100644
--- a/src/test/java/org/apache/commons/math4/ode/TestProblemAbstract.java
+++ b/src/test/java/org/apache/commons/math4/ode/TestProblemAbstract.java
@@ -139,7 +139,7 @@ public int getDimension() {
 
   /**
    * Get the number of calls.
-   * @return nuber of calls
+   * @return number of calls
    */
   public int getCalls() {
     return calls;


Mime
View raw message