Skip to content

Commit f4309c4

Browse files
committed
Merge pull request winterbe#21 from sectioneight/fix-whitespace
Fix whitespace in Default Interface Methods
2 parents 3d878f6 + ab7e2d2 commit f4309c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Remember the formula example from the first section? Interface `Formula` defines
267267
Default methods **cannot** be accessed from within lambda expressions. The following code does not compile:
268268

269269
```java
270-
Formula formula = (a) -> sqrt( a * 100);
270+
Formula formula = (a) -> sqrt(a * 100);
271271
```
272272

273273

0 commit comments

Comments
 (0)