Skip to content

Inline Guava Throwables.propagate#223

Merged
exoego merged 1 commit intomasterfrom
propagate
Jan 26, 2023
Merged

Inline Guava Throwables.propagate#223
exoego merged 1 commit intomasterfrom
propagate

Conversation

@exoego
Copy link
Contributor

@exoego exoego commented Jan 26, 2023

Part of #135

https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagate

In many cases, you'll be able to use throw e or throw new RuntimeException(e) with no change in behavior. This sometimes lets you remove other code.

@exoego exoego marked this pull request as ready for review January 26, 2023 04:27
@exoego exoego added the dependencies Pull requests that update a dependency file label Jan 26, 2023
@exoego exoego merged commit 1507083 into master Jan 26, 2023
@exoego exoego deleted the propagate branch January 26, 2023 13:06
@exoego exoego added chore internal changes (not user-facing) and removed dependencies Pull requests that update a dependency file labels Jan 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore internal changes (not user-facing)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants