Skip to content

Commit 2db1dbc

Browse files
authored
纠正拼写错误
1 parent 4901491 commit 2db1dbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/book/14-Streams.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public class ImperativeRandoms {
5454
Random rand = new Random(47);
5555
SortedSet<Integer> rints = new TreeSet<>();
5656
while(rints.size() < 7) {
57-
int r = rand.nextint(20);
57+
int r = rand.nextInt(20);
5858
if(r < 5) continue;
5959
rints.add(r);
6060
}

0 commit comments

Comments
 (0)