[
https://issues.apache.org/jira/browse/LUCENE-4377?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610870#comment-13610870
]
Commit Tag Bot commented on LUCENE-4377:
----------------------------------------
[branch_4x commit] Robert Muir
http://svn.apache.org/viewvc?view=revision&revision=1383911
LUCENE-4377: Remove IndexInput.copyBytes(IndexOutput, long)
> 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
> Assignee: Robert Muir
> Fix For: 4.0, 5.0
>
> 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]