[
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.