Skip to content

Commit ece6f5d

Browse files
committed
nextint -> nextInt
1 parent ae53827 commit ece6f5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/19-Type-Information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ class Part implements Supplier<Part> {
11711171

11721172
private static Random rand = new Random(47);
11731173
public Part get() {
1174-
int n = rand.nextint(prototypes.size());
1174+
int n = rand.nextInt(prototypes.size());
11751175
return prototypes.get(n).get();
11761176
}
11771177
}

0 commit comments

Comments
 (0)