Fix typo in AbstractMultiSearchProcessorFactory (#11368)

Motivation:

There was a typo in the docs.

Modification:

occurence -> occurrence

Result:

Cleanup.
This commit is contained in:
Ikko Ashimine 2021-06-07 15:45:55 +09:00 committed by Norman Maurer
parent fa7b243d5f
commit 1e6169fb65

View File

@ -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;