hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andras Bokor (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HADOOP-13160) Suppress checkstyle JavadocPackage check for test source
Date Fri, 20 May 2016 13:26:12 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-13160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15286472#comment-15286472
] 

Andras Bokor edited comment on HADOOP-13160 at 5/20/16 1:26 PM:
----------------------------------------------------------------

[~jzhuge],

It does not work on Windows. Since it is a regex I suggest using the following:
{code} <suppress checks="JavadocPackage" files="[\\/]src[\\/]test[\\/].*"/>{code}

Another thing. I would use DTD version 1.1 instead of 1.0.
There is no affect for this particular issue but {{id}} property can help if we need to write
more complicated suppressions. 


was (Author: boky01):
[~jzhuge],

It does not work on Windows. Since it is a regex I suggest using the following:
{{ <suppress checks="JavadocPackage" files="[\\/]src[\\/]test[\\/].*"/>}}

Another thing. I would use DTD version 1.1 instead of 1.0.
There is no affect for this particular issue but {{id}} property can help if we need to write
more complicated suppressions. 

> Suppress checkstyle JavadocPackage check for test source
> --------------------------------------------------------
>
>                 Key: HADOOP-13160
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13160
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.7.2
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HADOOP-13160.001.patch, HADOOP-13160.002.patch, HADOOP-13160.003.patch
>
>
> Suppress "Missing package-info.java" checkstyle error for test source files.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message