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

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

Commit 1641239 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1641239 ]

LUCENE-6068: LeafReader.fields never returns null

> Remove reader.fields() == null checks everywhere
> ------------------------------------------------
>
>                 Key: LUCENE-6068
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6068
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-6068.patch
>
>
> I don't know how this got this way, but it never returns null. SegmentReader 
> even asserts this. But the api requires consumers to do a bunch of useless 
> null checks. This is a bug.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to