Skip to content

Commit

Permalink
Fix ArrayIndexOutOfBoundsException
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed Nov 2, 2021
1 parent d4248b4 commit c2034e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public Tester(int maxLength, int maxKeyCount) {

private void initArrays() {
this.keyArray = new GrailPair[this.maxLength];
this.referenceArray = new GrailPair[this.maxKeyCount];
this.referenceArray = new GrailPair[this.maxLength];
this.valueArray = new int[this.maxKeyCount];
}

Expand Down

0 comments on commit c2034e7

Please sign in to comment.