Fix Document.getFieldables and others to never return null
----------------------------------------------------------
Key: LUCENE-1233
URL: https://issues.apache.org/jira/browse/LUCENE-1233
Project: Lucene - Java
Issue Type: Improvement
Components: Index
Affects Versions: 2.3.1, 2.3, 2.2, 2.1
Reporter: Michael McCandless
Assignee: Michael McCandless
Fix For: 2.4
Document.getFieldables (and other similar methods) returns null if there are no
fields matching the name. We can avoid NPE in consumers of this API if instead
we return an empty array.
Spinoff from http://markmail.org/message/g2nzstmce4cnf3zj
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]