commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [4/8] commons-rng git commit: Redundant declarations.
Date Fri, 23 Dec 2016 13:41:38 GMT
Redundant declarations.


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

Branch: refs/heads/master
Commit: 36752e6568d7d9558430c54f24c117bd6910dc4d
Parents: 9839181
Author: Gilles <erans@apache.org>
Authored: Fri Dec 23 13:01:22 2016 +0100
Committer: Gilles <erans@apache.org>
Committed: Fri Dec 23 13:01:22 2016 +0100

----------------------------------------------------------------------
 .../java/org/apache/commons/rng/core/source32/IntProvider.java   | 4 ----
 .../java/org/apache/commons/rng/core/source64/LongProvider.java  | 4 ----
 2 files changed, 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/36752e65/commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
----------------------------------------------------------------------
diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
index 8d3e303..f4a9846 100644
--- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
+++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source32/IntProvider.java
@@ -30,10 +30,6 @@ public abstract class IntProvider
 
     /** {@inheritDoc} */
     @Override
-    public abstract int next();
-
-    /** {@inheritDoc} */
-    @Override
     public int nextInt() {
         return next();
     }

http://git-wip-us.apache.org/repos/asf/commons-rng/blob/36752e65/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java
----------------------------------------------------------------------
diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java
b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java
index 0c7bed7..93982e5 100644
--- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java
+++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/LongProvider.java
@@ -30,10 +30,6 @@ public abstract class LongProvider
 
     /** {@inheritDoc} */
     @Override
-    public abstract long next();
-
-    /** {@inheritDoc} */
-    @Override
     public long nextLong() {
         return next();
     }


Mime
View raw message