纠正拼写错误

This commit is contained in:
tangsw
2019-11-24 13:33:49 +08:00
committed by GitHub
parent 49014911b9
commit 2db1dbc82d

View File

@@ -54,7 +54,7 @@ public class ImperativeRandoms {
Random rand = new Random(47);
SortedSet<Integer> rints = new TreeSet<>();
while(rints.size() < 7) {
int r = rand.nextint(20);
int r = rand.nextInt(20);
if(r < 5) continue;
rints.add(r);
}