Skip to content

Commit 0bc23c5

Browse files
committed
Fix
1 parent b497553 commit 0bc23c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This article was originally posted on [my blog](http://winterbe.com/posts/2014/0
2222
* [Suppliers](#suppliers)
2323
* [Consumers](#consumers)
2424
* [Comparators](#comparators)
25-
** [Optionals](#optionals)
25+
* [Optionals](#optionals)
2626
* [Streams](#streams)
2727
* [Filter](#filter)
2828
* [Sorted](#sorted)
@@ -335,7 +335,7 @@ comparator.compare(p1, p2); // > 0
335335
comparator.reversed().compare(p1, p2); // < 0
336336
```
337337

338-
### Optionals
338+
## Optionals
339339

340340
Optionals are not functional interfaces, instead it's a nifty utility to prevent `NullPointerException`. It's an important concept for the next section, so let's have a quick look at how Optionals work.
341341

0 commit comments

Comments
 (0)