pranavshenoy commented on code in PR #4655:
URL: https://github.com/apache/cassandra/pull/4655#discussion_r2882044861
##########
src/java/org/apache/cassandra/io/tries/IncrementalTrieWriterPageAware.java:
##########
@@ -103,22 +103,21 @@ public class IncrementalTrieWriterPageAware<VALUE>
return c;
};
- IncrementalTrieWriterPageAware(TrieSerializer<VALUE, ? super
DataOutputPlus> trieSerializer, DataOutputPlus dest)
+ IncrementalTrieWriterPageAware(TrieSerializer<VALUE, ? super
DataOutputPlus> trieSerializer, DataOutputPlus dest, NODE root)
{
- super(trieSerializer, dest, new Node<>((byte) 0));
+ super(trieSerializer, dest, root);
this.maxBytesPerPage = dest.maxBytesInPage();
}
@Override
public void reset()
{
- reset(new Node<>((byte) 0));
+ reset(new Node<VALUE, NODE>((byte) 0));
Review Comment:
Err: The method reset(NODE) in the type
IncrementalTrieWriterBase<VALUE,DataOutputPlus,NODE> is not applicable for the
arguments (IncrementalTrieWriterPageAware.Node<VALUE,NODE>)Java(67108979)
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]