Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Nightly Builds
-
None
-
Operating System: other
Platform: Other
-
18889
Description
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.