You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2021/11/22 00:59:07 UTC

[GitHub] [lucenenet] NightOwl888 opened a new pull request #553: BUG: Lucene.Net.TestFramework.Util.TestUtil::RandomAnalysisString(): Fixed ArgumentOutOfRangeException

NightOwl888 opened a new pull request #553:
URL: https://github.com/apache/lucenenet/pull/553


   `J2N.Randomizer.Next(int)` throws `ArgumentOutOfRangeException` when the argument is 0 (confirmed this is how it works in Java). So, we need to skip the method in that case and pass 0 through.
   
   This bug was carried over from Lucene and still exists in their codebase.


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [lucenenet] NightOwl888 merged pull request #553: BUG: Lucene.Net.TestFramework.Util.TestUtil::RandomAnalysisString(): Fixed ArgumentOutOfRangeException

Posted by GitBox <gi...@apache.org>.
NightOwl888 merged pull request #553:
URL: https://github.com/apache/lucenenet/pull/553


   


-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org