You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2015/12/31 01:36:04 UTC
[1/2] [math] MATH-1309
Repository: commons-math
Updated Branches:
refs/heads/master a4eff51be -> 2fcfce303
MATH-1309
Constructors should not call overridable methods, even indirectly.
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/8f6bedeb
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/8f6bedeb
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/8f6bedeb
Branch: refs/heads/master
Commit: 8f6bedeb724fa78583c26423aaece05cfddc04c9
Parents: d112389
Author: Gilles <er...@apache.org>
Authored: Thu Dec 31 01:31:24 2015 +0100
Committer: Gilles <er...@apache.org>
Committed: Thu Dec 31 01:31:24 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/commons/math4/random/AbstractWell.java | 2 +-
src/main/java/org/apache/commons/math4/random/ISAACRandom.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-math/blob/8f6bedeb/src/main/java/org/apache/commons/math4/random/AbstractWell.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/random/AbstractWell.java b/src/main/java/org/apache/commons/math4/random/AbstractWell.java
index 88cb2bb..461e547 100644
--- a/src/main/java/org/apache/commons/math4/random/AbstractWell.java
+++ b/src/main/java/org/apache/commons/math4/random/AbstractWell.java
@@ -134,7 +134,7 @@ public abstract class AbstractWell
*/
private void setSeedInternal(final int[] seed) {
if (seed == null) {
- setSeed(System.currentTimeMillis() + System.identityHashCode(this));
+ setSeedInternal(System.currentTimeMillis() + System.identityHashCode(this));
return;
}
http://git-wip-us.apache.org/repos/asf/commons-math/blob/8f6bedeb/src/main/java/org/apache/commons/math4/random/ISAACRandom.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/random/ISAACRandom.java b/src/main/java/org/apache/commons/math4/random/ISAACRandom.java
index 185710f..4759749 100644
--- a/src/main/java/org/apache/commons/math4/random/ISAACRandom.java
+++ b/src/main/java/org/apache/commons/math4/random/ISAACRandom.java
@@ -131,7 +131,7 @@ public class ISAACRandom
* @param seed Seed.
*/
private void setSeedInternal(int seed) {
- setSeed(new int[]{seed});
+ setSeedInternal(new int[] { seed });
}
/**
@@ -140,7 +140,7 @@ public class ISAACRandom
* @param seed Seed.
*/
private void setSeedInternal(long seed) {
- setSeed(new int[]{(int) (seed >>> 32), (int) (seed & 0xffffffffL)});
+ setSeedInternal(new int[] { (int) (seed >>> 32), (int) (seed & 0xffffffffL) });
}
/**
@@ -150,7 +150,7 @@ public class ISAACRandom
*/
private void setSeedInternal(int[] seed) {
if (seed == null) {
- setSeed(System.currentTimeMillis() + System.identityHashCode(this));
+ setSeedInternal(System.currentTimeMillis() + System.identityHashCode(this));
return;
}
final int seedLen = seed.length;
[2/2] [math] Merge branch 'master' of
https://git-wip-us.apache.org/repos/asf/commons-math
Posted by er...@apache.org.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/commons-math
Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/2fcfce30
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/2fcfce30
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/2fcfce30
Branch: refs/heads/master
Commit: 2fcfce303989ae14b5b51f4c9fc92e97bc540ba8
Parents: 8f6bede a4eff51
Author: Gilles <er...@apache.org>
Authored: Thu Dec 31 01:35:30 2015 +0100
Committer: Gilles <er...@apache.org>
Committed: Thu Dec 31 01:35:30 2015 +0100
----------------------------------------------------------------------
.../commons/math4/analysis/solvers/LaguerreSolver.java | 9 +++------
.../optim/nonlinear/scalar/noderiv/CMAESOptimizer.java | 10 ++++++----
.../math4/stat/descriptive/rank/PSquarePercentile.java | 6 +++---
.../math4/stat/interval/ClopperPearsonInterval.java | 4 ++--
.../org/apache/commons/math4/util/ArithmeticUtils.java | 2 +-
5 files changed, 15 insertions(+), 16 deletions(-)
----------------------------------------------------------------------