snuyanzin commented on code in PR #27368:
URL: https://github.com/apache/flink/pull/27368#discussion_r2656410564
##########
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/netty/NettyConnectionManagerTest.java:
##########
@@ -80,7 +85,12 @@ void testMatchingNumberOfArenasAndThreadsAsDefault() throws
Exception {
ServerBootstrap bootstrap =
connectionManager.getServer().getBootstrap();
EventLoopGroup group = bootstrap.config().group();
- Field f =
group.getClass().getSuperclass().getSuperclass().getDeclaredField("children");
+ Field f =
+ group.getClass()
+ .getSuperclass()
+ .getSuperclass()
+ .getSuperclass()
+ .getDeclaredField("children");
Review Comment:
nit: I would suggest to extract it into methods, since now it is 5 repeating
lines
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]