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 2019/02/18 13:41:36 UTC

[commons-rng] branch master updated (485961a -> bb374f3)

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 485961a  The --allow-script-in-comments option is specific to java8.
     new d4726f3  Use javadoc parameter --allow-script-in-comments for all JDKs after 1.8
     new bb374f3  Disable checkstyle warnings in the DiceGameApplication

The 2 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:
 .../commons/rng/examples/jpms/app/DiceGameApplication.java |  6 +++++-
 pom.xml                                                    | 14 ++------------
 2 files changed, 7 insertions(+), 13 deletions(-)


[commons-rng] 02/02: Disable checkstyle warnings in the DiceGameApplication

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 bb374f3cce821e8c8955c8f3af39107dd80ee527
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 18 13:41:34 2019 +0000

    Disable checkstyle warnings in the DiceGameApplication
---
 .../apache/commons/rng/examples/jpms/app/DiceGameApplication.java   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/commons-rng-examples/examples-jpms/jpms-app/src/main/java/org/apache/commons/rng/examples/jpms/app/DiceGameApplication.java b/commons-rng-examples/examples-jpms/jpms-app/src/main/java/org/apache/commons/rng/examples/jpms/app/DiceGameApplication.java
index e688140..a52b701 100644
--- a/commons-rng-examples/examples-jpms/jpms-app/src/main/java/org/apache/commons/rng/examples/jpms/app/DiceGameApplication.java
+++ b/commons-rng-examples/examples-jpms/jpms-app/src/main/java/org/apache/commons/rng/examples/jpms/app/DiceGameApplication.java
@@ -47,6 +47,10 @@ public class DiceGameApplication {
                             4.3, 2.1);
     }
 
+    // Allow System.out and multiple " ---" strings
+    // CHECKSTYLE: stop RegexpCheck
+    // CHECKSTYLE: stop MultipleStringLiteralsCheck
+
     /**
      * Application's entry point.
      *
@@ -55,7 +59,7 @@ public class DiceGameApplication {
      *  <li>Number of games</li>
      *  <li>Number of players</li>
      *  <li>Number of rounds per game</li>
-     *  <li>RNG {@link RandomSource indentifier}</li>
+     *  <li>RNG {@link RandomSource identifier}</li>
      * </ol>
      */
     public static void main(String[] args) {


[commons-rng] 01/02: Use javadoc parameter --allow-script-in-comments for all JDKs after 1.8

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 d4726f319ddc3bcb703298a67beb8774d1a99315
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 18 13:37:47 2019 +0000

    Use javadoc parameter --allow-script-in-comments for all JDKs after 1.8
---
 pom.xml | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/pom.xml b/pom.xml
index 3dfd486..becd924 100644
--- a/pom.xml
+++ b/pom.xml
@@ -518,18 +518,6 @@
         </plugins>
       </build>
     </profile>
-    <!-- profile for MathJax in Java 8 -->
-    <profile>
-      <id>jdk8-javadoc</id>
-      <activation>
-        <jdk>1.8</jdk>
-      </activation>
-      <properties>
-        <!-- MathJax requires additional Javadoc qualifier for Java8 as of 8u121 -->
-        <!-- Note that this option is not in Java9 -->
-        <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
-      </properties>
-    </profile>
     <!-- profile to allow the use of plugin versions that require Java 8+ -->
     <profile>
       <id>jdk8-plugins</id>
@@ -537,6 +525,8 @@
         <jdk>[1.8,)</jdk>
       </activation>
       <properties>
+        <!-- MathJax script inclusion requires additional Javadoc qualifier for Java8 as of 8u121 -->
+        <allowscript.javadoc.qualifier>--allow-script-in-comments</allowscript.javadoc.qualifier>
         <!-- Check for all javadoc errors -->
         <doclint.javadoc.qualifier>-Xdoclint:all</doclint.javadoc.qualifier>
       </properties>