/[Apache-SVN]
ViewVC logotype

Revision 788193


Jump to revision: Previous Next
Author: uschindler
Date: Wed Jun 24 22:04:31 2009 UTC (15 years, 5 months ago)
Changed paths: 1
Log Message:
It is better to fail early here. If you incorrectly override e.g. getDocIDSet instead of getDocIdSet(), you will never find the error, only get NPEs at unrelated positions. Throwing the UOE shows exactly where to look for the error.
For a similar case see the new DocIdSetIterator.

Changed paths

Path Details
Directorylucene/java/trunk/src/java/org/apache/lucene/search/Filter.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26