[ 
https://issues.apache.org/jira/browse/LUCENE-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975128#comment-13975128
 ] 

ASF subversion and git services commented on LUCENE-5582:
---------------------------------------------------------

Commit 1588750 from [email protected] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1588750 ]

LUCENE-5582: remove uses of length/setLength in tests and directpf

> 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]

Reply via email to