I found two places that needed it. Pushed to master.
On 12 June 2016 at 12:45, Matt Sicker <[email protected]> wrote:
> Probably a good old @SuppressWarnings("unchecked") should do it.
>
> On 12 June 2016 at 06:37, Remko Popma <[email protected]> wrote:
>
>> 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
>> <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
>>
>>
>
>
> --
> Matt Sicker <[email protected]>
>
--
Matt Sicker <[email protected]>