Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch for /trunk/src/main/java/nl/flotsam/xeger/XegerUtils.java #5

Open
GoogleCodeExporter opened this issue Dec 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The previous implementation was non uniform in its results and also did not hit 
the boundary conditions. Changed to use Random.nextInt(limitExcl).

Ideally we would just change the calling code to use nextInt directly, but 
this'll work equally well.

Original issue reported on code.google.com by [email protected] on 14 Oct 2011 at 4:21

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant