What needs to be done to fix this?

Sent from my iPhone

> On 2016/06/12, at 6:06, Gary Gregory <[email protected]> wrote:
> 
> 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
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to