runzhiwang commented on a change in pull request #213:
URL: https://github.com/apache/incubator-ratis/pull/213#discussion_r507397141
##########
File path:
ratis-test/src/test/java/org/apache/ratis/datastream/TestDataStream.java
##########
@@ -99,37 +104,81 @@ public WritableByteChannel getWritableByteChannel() {
writeRequest = request;
return CompletableFuture.completedFuture(stream);
}
+
+ public int getByteWritten() {
Review comment:
if you rename byteWritten to bytesWritten, you should also rename
getByteWritten to getBytesWritten. But maybe, we should not rename byteWritten,
it's unnecessary.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]