You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by zsalab <gi...@git.apache.org> on 2018/12/02 18:09:57 UTC

[GitHub] commons-logging pull request #1: default methods to Log interface to prevent...

GitHub user zsalab opened a pull request:

    https://github.com/apache/commons-logging/pull/1

    default methods to Log interface to prevent unnecessary payload creation

    This change require Java 8 and add default interface methods to simplify
    the usage of the log levels. No if statement required to prevent log
    message object creation if those methods used.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zsalab/commons-logging trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-logging/pull/1.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1
    
----
commit 45ae984221f0326e3b5395be113e8d80cf392f68
Author: Balazs Toth <zs...@...>
Date:   2018-12-02T17:59:59Z

    default methods to Log interface to prevent unnecessary payload creation
    
    This change require Java 8 and add default interface methods to simplify
    the usage of the log levels. No if statement required to prevent log
    message object creation if those methods used.

----


---

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