You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Di Wu Lau (JIRA)" <ji...@apache.org> on 2013/07/16 20:40:49 UTC
[jira] [Comment Edited] (OPENJPA-2410) Detection for Illegal
System.out/err.print(ln) Statements in OpenJPA
[ https://issues.apache.org/jira/browse/OPENJPA-2410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709805#comment-13709805 ]
Di Wu Lau edited comment on OPENJPA-2410 at 7/16/13 6:40 PM:
-------------------------------------------------------------
Attached is a patch for maven 2.2.1 because maven 3.0.5 uses a different checkstyle-plugin version.
was (Author: dlau):
Attached is a patch for maven 2.2.1 because maven 3.0.5 uses a different checkstyle-plugin version. New patches with version detection may be uploaded later if more changes are needed.
> Detection for Illegal System.out/err.print(ln) Statements in OpenJPA
> --------------------------------------------------------------------
>
> Key: OPENJPA-2410
> URL: https://issues.apache.org/jira/browse/OPENJPA-2410
> Project: OpenJPA
> Issue Type: Improvement
> Components: build / infrastructure
> Affects Versions: 2.3.0
> Reporter: Di Wu Lau
> Assignee: Rick Curtis
> Priority: Minor
> Fix For: 2.3.0
>
> Attachments: OPENJPA-2410.patch
>
>
> OpenJPA may contain illegal System.out/err.print(ln) statements. Those statements should be detected and an error should be thrown to the user so they are aware of them and remove them from the code. Certain System.out/err.print(ln) statements are allowed such as for tools and testing purpose. Those will be filtered out and will not cause an error.
> Files modified:
> checkstyle.xml
> pom.xml
> File added:
> suppressions.xml
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira