You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by tn...@apache.org on 2015/02/25 07:56:49 UTC

[math] Make method arguments final.

Repository: commons-math
Updated Branches:
  refs/heads/master 96ba5ec21 -> 6b1b59288


Make method arguments final.


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

Branch: refs/heads/master
Commit: 6b1b592887d9ce95fb5af1e216bff56b18c7902c
Parents: 96ba5ec
Author: Thomas Neidhart <th...@gmail.com>
Authored: Wed Feb 25 07:56:38 2015 +0100
Committer: Thomas Neidhart <th...@gmail.com>
Committed: Wed Feb 25 07:56:38 2015 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/math4/util/FastMath.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/6b1b5928/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 b88183c..015dbcb 100644
--- a/src/main/java/org/apache/commons/math4/util/FastMath.java
+++ b/src/main/java/org/apache/commons/math4/util/FastMath.java
@@ -1457,7 +1457,7 @@ public class FastMath {
      * @param y   a double
      * @return double
      */
-    public static double pow(double x, double y) {
+    public static double pow(final double x, final double y) {
         final double lns[] = new double[2];
 
         if (y == 0.0) {