[ 
https://issues.apache.org/jira/browse/LUCENE-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael McCandless updated LUCENE-5582:
---------------------------------------

    Attachment: LUCENE-5582.patch

Patch.

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to