Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E4050CE32 for ; Tue, 16 Jul 2013 18:40:58 +0000 (UTC) Received: (qmail 622 invoked by uid 500); 16 Jul 2013 18:40:58 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 98104 invoked by uid 500); 16 Jul 2013 18:40:52 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 96787 invoked by uid 99); 16 Jul 2013 18:40:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jul 2013 18:40:49 +0000 Date: Tue, 16 Jul 2013 18:40:49 +0000 (UTC) From: "Di Wu Lau (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (OPENJPA-2410) Detection for Illegal System.out/err.print(ln) Statements in OpenJPA MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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