Discussion:
[GitHub] commons-logging pull request #1: default methods to Log interface to prevent...
zsalab
2018-12-02 18:09:57 UTC
Permalink
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 <***@...>
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-***@commons.apache.org
For additional commands, e-mail: dev-***@commons.apache.org

Loading...