Skip to content

Commit 832d5cb

Browse files
committed
update java8-common-new-features.md
1 parent 9fbbdc6 commit 832d5cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/new-features/java8-common-new-features.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ public static void main(String[] args) {
681681
System.out.println("User's city without flatMap: " + cityWithoutFlatMap);
682682
}
683683
```
684-
在`Stream`和`Optional`中正确使用flatMap可以减少很多不必要的代码
684+
在`Stream`和`Optional`中正确使用`flatMap`可以减少很多不必要的代码
685685

686686
### 判断 value 是否为 null
687687

0 commit comments

Comments
 (0)