You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2021/08/04 05:52:02 UTC
[commons-rng] 17/23: Use diamond operator
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
commit e0b0947ae8fd2e60a1c3ba2ef4c241eba1467c0e
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Aug 3 10:12:27 2021 +0100
Use diamond operator
---
.../src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
index 9acdc5d..fb2d4cc 100644
--- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
+++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
@@ -226,7 +226,7 @@ public class TwoCmres extends LongProvider {
/** Factory. */
static class Factory {
/** List of good "Cmres" subcycle generators. */
- private static final List<Cmres> TABLE = new ArrayList<Cmres>();
+ private static final List<Cmres> TABLE = new ArrayList<>();
//
// Populates the table.