timoninmaxim commented on code in PR #12110: URL: https://github.com/apache/ignite/pull/12110#discussion_r2121601277
########## modules/core/src/test/java/org/apache/ignite/internal/managers/communication/IgniteIoCommunicationMessageSerializationTest.java: ########## @@ -59,33 +53,23 @@ private static class TestIoMessageReader extends AbstractTestMessageReader { /** */ private static final byte[] BYTE_ARR = toBytes(null); - /** */ - protected Class<? extends Message> msgCls; - /** */ public TestIoMessageReader(int capacity) { super(capacity); } /** {@inheritDoc} */ - @Override public void setCurrentReadClass(Class<? extends Message> msgCls) { - this.msgCls = msgCls; - } - - /** {@inheritDoc} */ - @Override public byte[] readByteArray(String name) { - super.readByteArray(name); + @Override public byte[] readByteArray() { + super.readByteArray(); return BYTE_ARR; } - /** {@inheritDoc} */ - @Override public <T extends Message> T readMessage(String name) { - super.readMessage(name); - - return msgCls.equals(GridCacheRawVersionedEntry.class) && "key".equals(name) - ? (T)new KeyCacheObjectImpl() - : null; - } +// /** {@inheritDoc} */ Review Comment: I'll remove this code at all. -- 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: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org