lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [lucenenet] NightOwl888 opened a new pull request #316: Fix for NGram TestUTF8FullRange() tests (See #269)
Date Wed, 22 Jul 2020 11:47:01 GMT

NightOwl888 opened a new pull request #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:

View raw message