/[Apache-SVN]
ViewVC logotype

Revision 807682


Jump to revision: Previous Next
Author: uschindler
Date: Tue Aug 25 15:58:00 2009 UTC (15 years, 2 months ago)
Changed paths: 1
Log Message:
onlyUseNewAPI is a static, so non-instance variable. It is used only to initialize TokenStreams and can be changed after. Because of that the tests in incrementToken()/next()/next(Token) should not use it. It is enough to test for tokenWrapper==null to detect a onlyNewAPI TokenStream instance.

Changed paths

Path Details
Directorylucene/java/trunk/src/java/org/apache/lucene/analysis/TokenStream.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26