| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -107,7 +107,7 @@ As you can see the code is much shorter and easier to read. But it gets even sho | |||
| 107 | 107 | Collections.sort(names, (String a, String b) -> b.compareTo(a)); | |
| 108 | 108 | ``` | |
| 109 | 109 | ||
| 110 | - For one line method bodies you can skip both the braces `{}` and the `return` keyword. But it gets even more shorter: | ||
| 110 | + For one line method bodies you can skip both the braces `{}` and the `return` keyword. But it gets even shorter: | ||
| 111 | 111 | ||
| 112 | 112 | ```java | |
| 113 | 113 | names.sort((a, b) -> b.compareTo(a)); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments