LUCENE-6586: fix typo causing possible wrong value for substCount

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687950 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael McCandless 2015-06-27 17:12:14 +00:00
parent 8768d569b8
commit 8e4b427926
2 changed files with 4 additions and 1 deletions

View File

@ -182,6 +182,9 @@ Bug fixes
* LUCENE-6614: Improve partition detection in IOUtils#spins() so it
works with NVMe drives. (Uwe Schindler, Mike McCandless)
* LUCENE-6586: Fix typo in GermanStemmer, causing possible wrong value
for substCount. (Christoph Kaser via Mike McCandless)
Changes in Runtime Behavior
* LUCENE-6501: The subreader structure in ParallelCompositeReader

View File

@ -200,7 +200,7 @@ public class GermanStemmer
{
buffer.setCharAt( c, '$' );
buffer.delete( c + 1, c + 3 );
substCount =+ 2;
substCount += 2;
}
else if ( buffer.charAt( c ) == 'c' && buffer.charAt( c + 1 ) == 'h' ) {
buffer.setCharAt( c, '§' );