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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

RahulNagekar
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 <zsalab@...>
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: [hidden email]
For additional commands, e-mail: [hidden email]