netty5/resolver/src
Roger 3e3e5155b9 Check if Log level is enabled before creating log statements (#8022)
Motivation

There is a cost to concatenating strings and calling methods that will be wasted if the Logger's level is not enabled.

Modifications

Check if Log level is enabled before producing log statement. These are just a few cases found by RegEx'ing in the code.

Result

Tiny bit more efficient code.
2018-06-13 23:21:53 -07:00
..
main/java/io/netty/resolver Check if Log level is enabled before creating log statements (#8022) 2018-06-13 23:21:53 -07:00
test/java/io/netty/resolver HostsFileParser should allow both IPv4 and IPv6 for a given host 2017-02-10 20:09:32 -08:00