You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline a method that mainly serves to confuse the compiler's reachabililty checking.
It's possible that my motivation for the method was:
- to make it more difficult to accidentally operate on `e` intead of `e.getCause()` (as in #7434): If so, I hope that I've addressed that sufficiently by renaming `e` to "`wrapper`".
- to share code with [`wrapAndThrowRuntimeExecutionExceptionOrError` in `SimpleTimeLimiter`](https://github.com/google/guava/blob/5338f7c997dac25879378c9aebb692dc6f6cf9da/guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java#L278C16-L278C60): I mean, I guess we _could_, but meh, especially since the `Futures` copy of the logic benefits from an implementation comment that wouldn't make sense in the `SimpleTimeLimiter` case.
RELNOTES=n/a
PiperOrigin-RevId: 686551569
0 commit comments