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 2020/02/17 23:20:11 UTC

[commons-rng] branch master updated (e92c4ce -> 82bb26e)

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git.


    from e92c4ce  Fix spotbugs for the JMH module.
     new d75911b  Update checkstyle
     new 57bd214  Update pmd
     new 82bb26e  Fix invalid javadoc position.

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../apache/commons/rng/core/source64/TwoCmres.java  |  2 +-
 pom.xml                                             |  8 ++++----
 src/main/resources/checkstyle/checkstyle.xml        | 21 +++++++++------------
 3 files changed, 14 insertions(+), 17 deletions(-)


[commons-rng] 01/03: Update checkstyle

Posted by ah...@apache.org.
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 d75911b3d9d598244b974bbe52b9bb9114739ef2
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:10:35 2020 +0000

    Update checkstyle
    
    maven plugin 3.0.0 -> 3.1.0
    Dependency 8.20 -> 8.29
---
 pom.xml                                      |  4 ++--
 src/main/resources/checkstyle/checkstyle.xml | 21 +++++++++------------
 2 files changed, 11 insertions(+), 14 deletions(-)

diff --git a/pom.xml b/pom.xml
index a7e7a53..e022b88 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,8 +56,8 @@
     <maven.compiler.target>1.6</maven.compiler.target>
     <rng.pmd.version>3.12.0</rng.pmd.version>
     <rng.pmd.dep.version>6.14.0</rng.pmd.dep.version>
-    <rng.checkstyle.version>3.0.0</rng.checkstyle.version>
-    <rng.checkstyle.dep.version>8.20</rng.checkstyle.dep.version>
+    <rng.checkstyle.version>3.1.0</rng.checkstyle.version>
+    <rng.checkstyle.dep.version>8.29</rng.checkstyle.dep.version>
     <rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>
     <rng.antrun.version>1.8</rng.antrun.version>
     <!-- Workaround to avoid duplicating config files. -->
diff --git a/src/main/resources/checkstyle/checkstyle.xml b/src/main/resources/checkstyle/checkstyle.xml
index 68f301e..4c71c7f 100644
--- a/src/main/resources/checkstyle/checkstyle.xml
+++ b/src/main/resources/checkstyle/checkstyle.xml
@@ -21,7 +21,7 @@
           "-//Checkstyle//DTD Checkstyle Configuration 1.3//EN"
           "https://checkstyle.org/dtds/configuration_1_3.dtd">
 
-<!-- 
+<!--
   Commons RNG customization of default Checkstyle behaviour:
   https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml
 -->
@@ -57,6 +57,12 @@
   <!-- Checks for Size Violations. -->
   <!-- See http://checkstyle.sourceforge.net/config_sizes.html -->
   <module name="FileLength" />
+  <module name="LineLength">
+    <property name="fileExtensions" value="java"/>
+    <!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
+    <property name="ignorePattern" value="^ *\* *[^ ]"/>
+    <property name="max" value="120"/>
+  </module>
 
   <!-- Checks for whitespace -->
   <!-- See http://checkstyle.sourceforge.net/config_whitespace.html -->
@@ -81,12 +87,8 @@
 
     <!-- Checks for Javadoc comments. -->
     <!-- See http://checkstyle.sourceforge.net/config_javadoc.html -->
-    <!-- Require method javadocs, allow undeclared RTE -->
-    <module name="JavadocMethod">
-      <property name="allowUndeclaredRTE" value="true"/>
-      <property name="allowThrowsTagsForSubclasses" value="true"/>
-      <property name="validateThrows" value="false"/>
-    </module>
+    <module name="InvalidJavadocPosition"/>
+    <module name="JavadocMethod" />
     <module name="JavadocType" />
     <module name="JavadocVariable" />
     <module name="JavadocStyle" />
@@ -115,11 +117,6 @@
 
     <!-- Checks for Size Violations. -->
     <!-- See http://checkstyle.sourceforge.net/config_sizes.html -->
-    <module name="LineLength">
-      <!-- Ignore lines that begin with " * ", such as within a Javadoc comment. -->
-      <property name="ignorePattern" value="^ *\* *[^ ]"/>
-      <property name="max" value="120"/>
-    </module>
     <module name="MethodLength" />
     <module name="ParameterNumber" />
 


[commons-rng] 03/03: Fix invalid javadoc position.

Posted by ah...@apache.org.
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 82bb26e7347368b2e8b4dd4f899f8b84dc509fbb
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:19:04 2020 +0000

    Fix invalid javadoc position.
---
 .../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 6fd92ef..3be063f 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
@@ -228,7 +228,7 @@ public class TwoCmres extends LongProvider {
             /** List of good "Cmres" subcycle generators. */
             private static final List<Cmres> TABLE = new ArrayList<Cmres>();
 
-            /**
+            /*
              * Populates the table.
              * It lists parameters known to be good (provided in
              * the article referred to above).


[commons-rng] 02/03: Update pmd

Posted by ah...@apache.org.
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 57bd2144faca64f2d862f3774e0ca36816b9af84
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:11:27 2020 +0000

    Update pmd
    
    3.12.0 -> 3.13.0
    dependency 6.14.0 -> 6.21.0
---
 pom.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index e022b88..3bcb4ec 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,8 +54,8 @@
     <commons.encoding>UTF-8</commons.encoding>
     <maven.compiler.source>1.6</maven.compiler.source>
     <maven.compiler.target>1.6</maven.compiler.target>
-    <rng.pmd.version>3.12.0</rng.pmd.version>
-    <rng.pmd.dep.version>6.14.0</rng.pmd.dep.version>
+    <rng.pmd.version>3.13.0</rng.pmd.version>
+    <rng.pmd.dep.version>6.21.0</rng.pmd.dep.version>
     <rng.checkstyle.version>3.1.0</rng.checkstyle.version>
     <rng.checkstyle.dep.version>8.29</rng.checkstyle.dep.version>
     <rng.mathjax.url>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js</rng.mathjax.url>