mike-tr-adamson commented on code in PR #2409:
URL: https://github.com/apache/cassandra/pull/2409#discussion_r1228144604
##########
src/java/org/apache/cassandra/index/sai/disk/io/RAMIndexOutput.java:
##########
@@ -70,11 +75,16 @@ public void writeTo(IndexOutput externalOut) throws
IOException
externalOut.writeBytes(out.getBytes(), 0, out.getPosition());
}
- public BytesRef getBytes()
+ public BytesRef getBytesRef()
Review Comment:
I have moved `getBytesRef` up the class but I have also removed `getBytes`
because it was only being used in a test and the call can be replaced with
`getBytesRef.bytes`.
--
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]