NightOwl888 opened a new pull request #316: URL: https://github.com/apache/lucenenet/pull/316
The problem was that the code point was being cast to a `char` before calling the `IndexOf` method, which means that it didn't support surrogate pairs. In rare instances where the cast turned the code point into a valid token character the test failed. .NET doesn't have a built-in overload of `String.IndexOf()` that accepts a code point, that is an extension method in J2N. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
