mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
Fixed error
Found error - had failed to change one of the classnames from my test version to xmage version. Also made nextWidth private. (No need for it to be public.)
This commit is contained in:
parent
82fc636d18
commit
53c3ec7dad
1 changed files with 2 additions and 2 deletions
|
|
@ -38,7 +38,7 @@ public class Rotater<T> {
|
|||
}
|
||||
|
||||
// for striped collation
|
||||
public Main(int sLen, String... items) {
|
||||
public Rotater(int sLen, String... items) {
|
||||
// should there be an error check?
|
||||
// assert ( items.size() % sLen ) == 0;
|
||||
this.stripeLen = sLen;
|
||||
|
|
@ -50,7 +50,7 @@ public class Rotater<T> {
|
|||
|
||||
// choose a stripe width between 2 & 5 inclusive
|
||||
// ToDo when data available: enable different widths to have different likelihoods
|
||||
public int nextWidth() {
|
||||
private int nextWidth() {
|
||||
return 2+ RandomUtil.nextInt(4);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue