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:08:43 UTC

[commons-numbers] branch master updated (81c2fd3 -> 3fd48ab)

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-numbers.git.


    from 81c2fd3  Remove unused aggregate configuration from javadoc plugin.
     new 0bc3540  Update checkstyle
     new 5efcb78  Remove findbugs configuration.
     new 3fd48ab  Update pmd

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:
 pom.xml                                            |  8 +++----
 src/main/resources/checkstyle/checkstyle.xml       | 21 +++++++---------
 .../resources/findbugs/findbugs-exclude-filter.xml | 28 ----------------------
 3 files changed, 13 insertions(+), 44 deletions(-)
 delete mode 100644 src/main/resources/findbugs/findbugs-exclude-filter.xml


[commons-numbers] 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-numbers.git

commit 0bc3540a5e345095506941fa9babbff57a70fe3e
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 22:58:44 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 1d73f85..74b9343 100644
--- a/pom.xml
+++ b/pom.xml
@@ -58,8 +58,8 @@
     <maven.compiler.target>1.8</maven.compiler.target>
     <numbers.pmd.version>3.12.0</numbers.pmd.version>
     <numbers.pmd.dep.version>6.19.0</numbers.pmd.dep.version>
-    <numbers.checkstyle.version>3.0.0</numbers.checkstyle.version>
-    <numbers.checkstyle.dep.version>8.20</numbers.checkstyle.dep.version>
+    <numbers.checkstyle.version>3.1.0</numbers.checkstyle.version>
+    <numbers.checkstyle.dep.version>8.29</numbers.checkstyle.dep.version>
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>
     <numbers.junit.bom.version>5.4.2</numbers.junit.bom.version>
     <numbers.commons.math3.version>3.6.1</numbers.commons.math3.version>
diff --git a/src/main/resources/checkstyle/checkstyle.xml b/src/main/resources/checkstyle/checkstyle.xml
index 2fb1cd6..3af3265 100644
--- a/src/main/resources/checkstyle/checkstyle.xml
+++ b/src/main/resources/checkstyle/checkstyle.xml
@@ -22,7 +22,7 @@
           "https://checkstyle.org/dtds/configuration_1_3.dtd">
 
 <!--
-  Commons RNG customization of default Checkstyle behaviour:
+  Commons Numbers customization of default Checkstyle behaviour:
   https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/sun_checks.xml
 -->
 <module name="Checker">
@@ -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-numbers] 03/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-numbers.git

commit 3fd48ab491ce2999476a894565d65a2f0183b3f3
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:08:13 2020 +0000

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

diff --git a/pom.xml b/pom.xml
index 74b9343..ce831d0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,8 +56,8 @@
     <commons.encoding>UTF-8</commons.encoding>
     <maven.compiler.source>1.8</maven.compiler.source>
     <maven.compiler.target>1.8</maven.compiler.target>
-    <numbers.pmd.version>3.12.0</numbers.pmd.version>
-    <numbers.pmd.dep.version>6.19.0</numbers.pmd.dep.version>
+    <numbers.pmd.version>3.13.0</numbers.pmd.version>
+    <numbers.pmd.dep.version>6.21.0</numbers.pmd.dep.version>
     <numbers.checkstyle.version>3.1.0</numbers.checkstyle.version>
     <numbers.checkstyle.dep.version>8.29</numbers.checkstyle.dep.version>
     <numbers.mathjax.version>2.7.2</numbers.mathjax.version>


[commons-numbers] 02/03: Remove findbugs configuration.

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-numbers.git

commit 5efcb78bb68ed4aad83bc621a30ede248f116e24
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:03:05 2020 +0000

    Remove findbugs configuration.
    
    spotbugs is used in preference to findbugs.
---
 .../resources/findbugs/findbugs-exclude-filter.xml | 28 ----------------------
 1 file changed, 28 deletions(-)

diff --git a/src/main/resources/findbugs/findbugs-exclude-filter.xml b/src/main/resources/findbugs/findbugs-exclude-filter.xml
deleted file mode 100644
index 8a9c858..0000000
--- a/src/main/resources/findbugs/findbugs-exclude-filter.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0"?>
-<!--
-   Licensed to the Apache Software Foundation (ASF) under one or more
-   contributor license agreements.  See the NOTICE file distributed with
-   this work for additional information regarding copyright ownership.
-   The ASF licenses this file to You under the Apache License, Version 2.0
-   (the "License"); you may not use this file except in compliance with
-   the License.  You may obtain a copy of the License at
-
-       http://www.apache.org/licenses/LICENSE-2.0
-
-   Unless required by applicable law or agreed to in writing, software
-   distributed under the License is distributed on an "AS IS" BASIS,
-   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-   See the License for the specific language governing permissions and
-   limitations under the License.
--->
-
-<!--
-  This file contains some false positive bugs detected by findbugs. Their
-  false positive nature has been analyzed individually and they have been
-  put here to instruct findbugs it must ignore them.
--->
-<FindBugsFilter>
-
-  <Class name="~.*\.jmh\.generated\..*" />
-
-</FindBugsFilter>