You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2018/11/05 19:29:00 UTC

[jira] [Commented] (LOG4J2-2498) Replace functional interfaces with java8 java.util

    [ https://issues.apache.org/jira/browse/LOG4J2-2498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16675655#comment-16675655 ] 

Gary Gregory commented on LOG4J2-2498:
--------------------------------------

Go for it :-)

> Replace functional interfaces with java8 java.util
> --------------------------------------------------
>
>                 Key: LOG4J2-2498
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2498
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: API
>            Reporter: Carter Kozak
>            Assignee: Carter Kozak
>            Priority: Major
>             Fix For: 3.0.0
>
>
> org.apache.logging.log4j.util.BiConsumer -> java.util.function.BiConsumer
> BiConsumer is not marked deprecated yet, deprecation in preparation for 3.0 should probably be backported to 2.x.
>  
> org.apache.logging.log4j.util.MessageSupplier -> java.util.function.Supplier<Message>
>  
> org.apache.logging.log4j.util.Supplier -> java.util.function.Supplier



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)