Commit 25e2914
Replace calls to
`Runnables.doNothing()` exists only because Java lambdas didn't exist in 2013. `() -> {}` is shorter and more standard.
PiperOrigin-RevId: 974801764Runnables.doNothing() with a do-nothing lambda, () -> {}.1 parent 0678c0c commit 25e2914
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- android/guava-tests/benchmark/com/google/common/util/concurrent
- guava-tests/benchmark/com/google/common/util/concurrent
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments