lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Kaelbling <dkaelbl...@blackducksoftware.com>
Subject Using attributes after end of stream
Date Thu, 10 Sep 2009 17:52:32 GMT
Hi,

After incrementToken() returns false, what are attribute getters supposed to return?  I thought
that any such calls would be erroneous (the equivalent of NullPointerExceptions), but org.apache.lucene.index.DocInverterPerField.processFields()
makes just such a call at line 194.

  Thanks,
  David

--
David Kaelbling
Senior Software Engineer
Black Duck Software, Inc.

dkaelbling@blackducksoftware.com
T +1.781.810.2041
F +1.781.891.5145

http://www.blackducksoftware.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message