The changes for MessageFactory2 now give the following warnings. I think we
should fix these.
[WARNING]
E:\vcs\git\apache\logging\logging-log4j2\log4j-api\src\main\java\org\apache\logging\log4j\status\StatusLogger.java:[45,13]
[unchecked] getMessageFactory() in AbstractLogger implements
<MF>getMessageFactory() in Logger
[WARNING] return type requires unchecked conversion from MessageFactory2
to MF
where MF is a type-variable:
MF extends MessageFactory declared in method <MF>getMessageFactory()
E:\vcs\git\apache\logging\logging-log4j2\log4j-api\src\main\java\org\apache\logging\log4j\simple\SimpleLogger.java:[37,7]
[unchecked] getMessageFactory() in AbstractLogger implements
<MF>getMessageFactory() in Logger
[WARNING] return type requires unchecked conversion from MessageFactory2
to MF
where MF is a type-variable:
MF extends MessageFactory declared in method <MF>getMessageFactory()
Gary
--
E-Mail: [email protected] | [email protected]
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory