You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by br...@apache.org on 2017/04/17 12:19:43 UTC

[20/50] [lang] checkstyle-suppressions.xml: make paths work on windows

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/release
Commit: e702828e7b34c6a9f1ae4eb6bbf07e60445ec8aa
Parents: 99900ae
Author: pascalschumacher <pa...@gmx.net>
Authored: Sun Mar 19 10:32:33 2017 +0100
Committer: pascalschumacher <pa...@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>