MukulShukla/xeger

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

Opened this issue · 0 comments

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 TStevens...@gmail.com on 14 Oct 2011 at 4:21

Attachments: