This repository was archived by the owner on May 12, 2026. It is now read-only.
Commit 1e624a9
oauth2_http: Use Futures.getDone() instead of Future.get() in listener (#1109)
Listeners for Futures should generally use Futures.addCallback() or
Futures.getDone() when called. This makes it clear they won't block and
allows tooling to know it will never block.
cl/492555987
Co-authored-by: Timur Sadykov <stim@google.com>1 parent 06bf21a commit 1e624a9
1 file changed
Lines changed: 1 addition & 3 deletions
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
292 | | - | |
293 | 291 | | |
294 | 292 | | |
295 | 293 | | |
| |||
0 commit comments