Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return nulls from MultibindingWorkerFactory for non-existent Worker classes instead of throwing exceptions #96

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

viakunin
Copy link
Contributor

Default Android WorkerFactory's behavior is to return nulls if the non-existent Worker was requested, but our MultibindingWorkerFactory throws ClassNotFoundExceptions and ClassCastExceptions.

This PR changes the behavior to be aligned with the default one.

@viakunin viakunin merged commit 283d846 into main Apr 23, 2024
2 checks passed
@viakunin viakunin deleted the bugfix/return_null_for_non_existent_worker branch April 23, 2024 09:18
msfjarvis pushed a commit to msfjarvis/whetstone that referenced this pull request Apr 26, 2024
…lasses instead of throwing exceptions (deliveryhero#96)

(cherry picked from commit 283d846)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants