amaliujia opened a new pull request #330:
URL: https://github.com/apache/incubator-ratis/pull/330


   ## What changes were proposed in this pull request?
   
   `DataStreamOutput stream(ByteBuffer headerMessage);` will provide enough 
coverage so we can remove `DataStreamOutput stream();`. 
   
   If users do not need a customized header message, they can create an empty 
byte buffer. 
   
   Less API in an public interface is always good if the coverage remains the 
same.
   
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/RATIS-1213
   
   ## How was this patch tested?
   
   UT
   


----------------------------------------------------------------
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]


Reply via email to