Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 9, 2017
1 parent c504bea commit bb4e3fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ for (String name : names) {
This is its object-oriented alternative (no streams!):

```java
new And<>(
new And(
names,
n -> {
System.out.printf("Hello, %s!\n", n);
Expand All @@ -225,7 +225,7 @@ while (!ready) {
Here is its object-oriented alternative:

```java
new And<>(
new And(
new EndlessIterable<>(ready),
ready -> {
System.out.prinln("Still waiting...");
Expand Down

0 comments on commit bb4e3fc

Please sign in to comment.