dweiss commented on PR #12624:
URL: https://github.com/apache/lucene/pull/12624#issuecomment-1819661097

   I've taken a look - I think this class should be kept package-private (or 
even class-private). It is a DataOutput but it serves very specific purposes 
(with the unusual methods to move the write pointer at random, expand the 
underlying buffer, etc.). 
   
   I also changed the implementation to use OutputStreamDataOutput [1] but it's 
not any more elegant than written explicitly, so please disregard that 
suggestion.
   
   [1] [baos.patch](https://github.com/apache/lucene/files/13418649/baos.patch)
   
   


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to