[
https://issues.apache.org/jira/browse/LUCENE-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975151#comment-13975151
]
Michael McCandless commented on LUCENE-5582:
--------------------------------------------
Thanks!
> Remove IndexOutput.length and .setLength
> ----------------------------------------
>
> Key: LUCENE-5582
> URL: https://issues.apache.org/jira/browse/LUCENE-5582
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Fix For: 4.8, 5.0
>
> Attachments: LUCENE-5582.patch
>
>
> Since we removed seeking from IndexOutput, you can just use
> .getFilePointer() to get the length. Also, nothing uses .setLength,
> so I think we should remove it too.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]