Fix typo in AbstractMultiSearchProcessorFactory (#11368)
Motivation: There was a typo in the docs. Modification: occurence -> occurrence Result: Cleanup.
This commit is contained in:
parent
fa7b243d5f
commit
1e6169fb65
@ -40,7 +40,7 @@ package io.netty.buffer.search;
|
||||
* MultiSearchProcessor processor = factory.newSearchProcessor();
|
||||
*
|
||||
* int idx1 = haystack.forEachByte(processor);
|
||||
* // idx1 is 1 (index of the last character of the occurence of "AB" in the haystack)
|
||||
* // idx1 is 1 (index of the last character of the occurrence of "AB" in the haystack)
|
||||
* // processor.getFoundNeedleId() is 0 (index of "AB" in needles[])
|
||||
*
|
||||
* int continueFrom1 = idx1 + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user