commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [2/2] [lang] checkstyle-suppressions.xml: make paths work on windows
Date Sun, 19 Mar 2017 09:33:38 GMT
checkstyle-suppressions.xml: make paths work on windows


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/e702828e
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/e702828e
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/e702828e

Branch: refs/heads/master
Commit: e702828e7b34c6a9f1ae4eb6bbf07e60445ec8aa
Parents: 99900ae
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Sun Mar 19 10:32:33 2017 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Sun Mar 19 10:32:33 2017 +0100

----------------------------------------------------------------------
 checkstyle-suppressions.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/e702828e/checkstyle-suppressions.xml
----------------------------------------------------------------------
diff --git a/checkstyle-suppressions.xml b/checkstyle-suppressions.xml
index f609d3d..3c02362 100644
--- a/checkstyle-suppressions.xml
+++ b/checkstyle-suppressions.xml
@@ -15,9 +15,8 @@ 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.
 -->
-
 <!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
 <suppressions>
-    <suppress checks="JavadocMethod" files=".*/test/.*"/>
-    <suppress checks="JavadocPackage" files=".*/test/.*"/>
+    <suppress checks="JavadocMethod" files=".*[/\\]test[/\\].*"/>
+    <suppress checks="JavadocPackage" files=".*[/\\]test[/\\].*"/>
 </suppressions>


Mime
View raw message