mirror of https://github.com/apache/lucene.git
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:
parent
8768d569b8
commit
8e4b427926
|
@ -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
|
||||
|
|
|
@ -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, '§' );
|
||||
|
|
Loading…
Reference in New Issue