anton-vinogradov commented on code in PR #13095:
URL: https://github.com/apache/ignite/pull/13095#discussion_r3559875930
##########
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/TcpDiscoverySpi.java:
##########
@@ -1819,7 +1820,9 @@ protected <T> T readMessage(TcpDiscoveryIoSession ses,
long timeout) throws IOEx
try {
sock.setSoTimeout((int)timeout);
- return ses.readMessage();
Review Comment:
The local-variable split was a debug leftover — collapsed back to `return
ses.readMessage();`. The `<T extends Message>` bound stays though:
`TcpDiscoveryIoSession.readMessage()` is now bounded to `Message` (the session
reads through message serializers), so the SPI method's unbounded `T` wouldn't
infer.
--
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]