Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-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 089D89A8B for ; Wed, 21 Mar 2012 23:30:45 +0000 (UTC) Received: (qmail 57008 invoked by uid 500); 21 Mar 2012 23:30:43 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 56960 invoked by uid 500); 21 Mar 2012 23:30:43 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 56953 invoked by uid 99); 21 Mar 2012 23:30:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 23:30:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 23:30:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 79E4312FAF for ; Wed, 21 Mar 2012 23:30:22 +0000 (UTC) Date: Wed, 21 Mar 2012 23:30:22 +0000 (UTC) From: "Greg Bowyer (Commented) (JIRA)" To: dev@lucene.apache.org Message-ID: <179490593.90.1332372622500.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <90238443.23781.1331894503236.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3877) Lucene should not call System.out.println MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13235196#comment-13235196 ] Greg Bowyer commented on LUCENE-3877: ------------------------------------- Well would it sway the argument if I said that the ASM code near directly translates into a findbugs rule (I have done this before) I was also not wanting to suggest findbug custom rules at the start because thats a bigger change in including an entire code lint tool (unless its included with lucene already, in which case forgive my stupidity I am still finding my way around) Something doesn't fit right in my mind with the AspectJ approach, I have seen it not work in the past for obscure reasons and it feels that running the weaving in pretend to check the verbose output is not much further on from checking the source code in the first place. > Lucene should not call System.out.println > ----------------------------------------- > > Key: LUCENE-3877 > URL: https://issues.apache.org/jira/browse/LUCENE-3877 > Project: Lucene - Java > Issue Type: Bug > Reporter: Michael McCandless > Fix For: 3.6, 4.0 > > Attachments: IllegalSystemTest.java, IllegalSystemTest.java, SystemPrintCheck.java > > > We seem to have accumulated a few random sops... > Eg, PairOutputs.java (oal.util.fst) and MultiDocValues.java, at least. > Can we somehow detect (eg, have a test failure) if we accidentally leave errant System.out.println's (leftover from debugging)...? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org