You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Nick Williams (JIRA)" <ji...@apache.org> on 2013/04/26 19:56:16 UTC

[jira] [Updated] (LOG4J2-221) Log4j 2 has several hundred compiler warnings

     [ https://issues.apache.org/jira/browse/LOG4J2-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Williams updated LOG4J2-221:
---------------------------------

    Attachment: fix-warnings.diff

This patch addresses the following:

- Several hundred compiler warnings

- Even though the Maven POM files and some documentation said the required Java version was Java 6, bug analysis was being performed for Java 5, several other pieces of documentation said Java 5, and the Ant build script was set to Java 5. All of these have been updated to Java 6 (1.6).

- In files that I otherwise touched to fix compiler warnings, I also cleaned up any other problems that my IDE pointed out (like possible NPEs, unnecessary casts, unused local variables, etc.

Project compiles and all unit tests still pass.
                
> Log4j 2 has several hundred compiler warnings
> ---------------------------------------------
>
>                 Key: LOG4J2-221
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-221
>             Project: Log4j 2
>          Issue Type: Bug
>    Affects Versions: 2.0-beta5
>            Reporter: Nick Williams
>         Attachments: fix-warnings.diff
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The entire Log4j 2 project has several hundred compiler warnings. Took me a total of about a day to clean up. Patch soon to follow.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org