netty5/resolver/src
Norman Maurer 78050c59ab
Don't create a new ParserImpl on each parser() call (#11255)
Motivation:

ParserImpl is stateless and so we can use the same instance multiple times

Modifications:

- Make constructor private
- Return the same instance all the time

Result:

Less object creation
2021-05-14 15:19:04 +02:00
..
main/java/io/netty/resolver Don't create a new ParserImpl on each parser() call (#11255) 2021-05-14 15:19:04 +02:00
test Add DefaultHostsFileEntriesResolver#addresses to provide all hosts file's entries for a hostname (#11246) 2021-05-14 09:50:42 +02:00