Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 73199 invoked from network); 29 Dec 2009 16:32:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Dec 2009 16:32:57 -0000 Received: (qmail 87075 invoked by uid 500); 29 Dec 2009 16:32:56 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 86950 invoked by uid 500); 29 Dec 2009 16:32:56 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 86940 invoked by uid 99); 29 Dec 2009 16:32:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2009 16:32:56 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Dec 2009 16:32:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 64101234C045 for ; Tue, 29 Dec 2009 08:32:29 -0800 (PST) Message-ID: <1680421421.1262104349394.JavaMail.jira@brutus.apache.org> Date: Tue, 29 Dec 2009 16:32:29 +0000 (UTC) From: "Dennis Lundberg (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LOGGING-64) Wrong sample code in org/apache/commons/logging/package.html (using static and this.class) 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/LOGGING-64?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dennis Lundberg updated LOGGING-64: ----------------------------------- Fix Version/s: 1.0.4 > Wrong sample code in org/apache/commons/logging/package.html (using static and this.class) > ------------------------------------------------------------------------------------------ > > Key: LOGGING-64 > URL: https://issues.apache.org/jira/browse/LOGGING-64 > Project: Commons Logging > Issue Type: Bug > Affects Versions: Nightly Builds > Environment: Operating System: other > Platform: Other > Reporter: Thai Ha > Priority: Minor > Fix For: 1.0.4 > > > In the org/apache/commons/logging/package.html file, there is sample code: > public class Foo { > static Log log = LogFactory.getLog(this.class); > ... > } > This code cannot be compiled because of using "static" and "this.class" in the > same statement. Should be change to Foo.class. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.