[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [commons-numbers] branch master updated: fixing checkstyle suppression patterns to work with Windows
From:       mattjuntunen () apache ! org
Date:       2020-03-30 21:09:38
Message-ID: 158560257865.28342.14074863323012704633 () gitbox ! apache ! org
[Download RAW message or body]

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

mattjuntunen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 2f3aaae  fixing checkstyle suppression patterns to work with Windows paths
2f3aaae is described below

commit 2f3aaaefbc7c3e20c63567139f7e9eb9e4e94219
Author: Matt Juntunen <mattjuntunen@apache.org>
AuthorDate: Mon Mar 30 17:09:13 2020 -0400

    fixing checkstyle suppression patterns to work with Windows paths
---
 src/main/resources/checkstyle/checkstyle-suppressions.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/resources/checkstyle/checkstyle-suppressions.xml \
b/src/main/resources/checkstyle/checkstyle-suppressions.xml index 8b74a51..ee631c4 \
                100644
--- a/src/main/resources/checkstyle/checkstyle-suppressions.xml
+++ b/src/main/resources/checkstyle/checkstyle-suppressions.xml
@@ -19,10 +19,10 @@
     "-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
     "https://checkstyle.org/dtds/suppressions_1_2.dtd">
 <suppressions>
-  <suppress checks="Indentation" files=".*/combinatorics/Factorial.java" />
-  <suppress checks="ParameterNumber" files=".*/arrays/LinearCombination.java" />
-  <suppress checks="FileLengthCheck" files=".*/Complex(Test)?.java" />
-  <suppress checks="MethodLength" files=".*/Complex.java" />
+  <suppress checks="Indentation" files=".*[/\\]combinatorics[/\\]Factorial\.java" />
+  <suppress checks="ParameterNumber" \
files=".*[/\\]arrays[/\\]LinearCombination\.java" /> +  <suppress \
checks="FileLengthCheck" files=".*[/\\]Complex(Test)?\.java" /> +  <suppress \
checks="MethodLength" files=".*[/\\]Complex\.java" />  
   <!-- Be more lenient on tests. -->
   <suppress checks="Javadoc" files=".*[/\\]test[/\\].*" />


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic