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/03/25 13:18:38 UTC

[commons-rng] branch master updated: Fixed checkstyle warnings in examples modules.

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


The following commit(s) were added to refs/heads/master by this push:
     new 860fcf3  Fixed checkstyle warnings in examples modules.
860fcf3 is described below

commit 860fcf3a42e17df4075cabfc761e6c385475477c
Author: aherbert <ah...@apache.org>
AuthorDate: Mon Mar 25 13:18:34 2019 +0000

    Fixed checkstyle warnings in examples modules.
---
 .../org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java | 6 +++---
 pom.xml                                                             | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
index cedec78..8e69cfd 100644
--- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
+++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/ThreadLocalPerformance.java
@@ -54,15 +54,15 @@ public class ThreadLocalPerformance {
      */
     @State(Scope.Benchmark)
     public static class Sources {
+        /** The random source. */
+        protected RandomSource randomSource;
+
         /**
          * RNG providers.
          */
         @Param({"SPLIT_MIX_64"})
         private String randomSourceName;
 
-        /** The random source. */
-        protected RandomSource randomSource;
-
         /**
          * @return the random source
          */
diff --git a/pom.xml b/pom.xml
index 5623f5c..635f1eb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -566,7 +566,7 @@
               <headerLocation>${rng.parent.dir}/src/main/resources/checkstyle/license-header.txt</headerLocation>
               <logViolationsToConsole>false</logViolationsToConsole>
               <failOnViolation>false</failOnViolation>
-              <resourceExcludes>NOTICE.txt,LICENSE.txt</resourceExcludes>
+              <resourceExcludes>NOTICE.txt,LICENSE.txt,**/maven-archiver/pom.properties</resourceExcludes>
               <excludes>**/module-info.java</excludes>
             </configuration>
             <executions>