Robert Muir created LUCENE-4377:
-----------------------------------
Summary: consolidate various copyBytes() methods
Key: LUCENE-4377
URL: https://issues.apache.org/jira/browse/LUCENE-4377
Project: Lucene - Core
Issue Type: Bug
Reporter: Robert Muir
Attachments: LUCENE-4377.patch
Spinoff of LUCENE-4371:
{quote}
I don't think the default impl (SlicedIndexInput) should overrided BII's
copyBytes? Seems ... spooky.
{quote}
There are copyBytes everywhere, mostly not really being used.
Particularly DataOutput.copyBytes(DataInput) versus
IndexInput.copyBytes(IndexOutput).
Bulk merging already uses DataOutput.copyBytes(DataInput), its the most general
(as it works on DataInput/Output), and its in dst, src order.
I think we should remove IndexInput.copyBytes, its not necessary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]