Repository: commons-math
Updated Branches:
  refs/heads/master 88b29fa46 -> 2ab17f529


int -> long

Changing type of the non-default constructor of "JDKRandomGenerator" in
order to match the signature of "java.util.Random".


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

Branch: refs/heads/master
Commit: eca374db08ffbb3dd8de746632fbd74acb8f2c92
Parents: 88b29fa
Author: Gilles <er...@apache.org>
Authored: Thu Dec 24 14:30:23 2015 +0100
Committer: Gilles <er...@apache.org>
Committed: Thu Dec 24 14:30:23 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/math4/random/JDKRandomGenerator.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/eca374db/src/main/java/org/apache/commons/math4/random/JDKRandomGenerator.java
----------------------------------------------------------------------
diff --git 
a/src/main/java/org/apache/commons/math4/random/JDKRandomGenerator.java 
b/src/main/java/org/apache/commons/math4/random/JDKRandomGenerator.java
index 279e073..5e2e7c4 100644
--- a/src/main/java/org/apache/commons/math4/random/JDKRandomGenerator.java
+++ b/src/main/java/org/apache/commons/math4/random/JDKRandomGenerator.java
@@ -42,7 +42,7 @@ public class JDKRandomGenerator extends Random implements 
RandomGenerator {
      * @param seed initial seed
      * @since 3.6
      */
-    public JDKRandomGenerator(int seed) {
+    public JDKRandomGenerator(long seed) {
         setSeed(seed);
     }
 

Reply via email to