netty5/transport-native-kqueue/src
Roger 6138541033 Avoid repeating the same field and hiding it (#8335)
Motivation

The EpollChannelConfig (same for KQueues) and its subclasses repeatetly declare their own channel field which leads to a 3x repetition for each config instance. Given the fields are protected or package-private it's exposing the code code to "field hiding" bugs.

Modifications

Use the the existing protected channel field from the DefaultChannelConfig class and simply cast it when needed.

Result

Fixes #8331
2018-09-28 17:37:14 +02:00
..
main Avoid repeating the same field and hiding it (#8335) 2018-09-28 17:37:14 +02:00
test/java/io/netty/channel/kqueue Epoll and Kqueue shouldn't read by default (#8024) 2018-06-15 10:28:50 +02:00