lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-5582) Remove IndexOutput.length and .setLength
Date Sun, 20 Apr 2014 13:21:17 GMT

    [ 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


Mime
View raw message