[ https://issues.apache.org/jira/browse/LUCENE-5582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13975132#comment-13975132
]
ASF subversion and git services commented on LUCENE-5582:
---------------------------------------------------------
Commit 1588752 from rmuir@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1588752 ]
LUCENE-5582: remove workaround
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
|