Skip to content

Feature: Use dagger factories instead of builders#159

Merged
infeo merged 7 commits intodevelopfrom
feature/use-dagger-factories
Mar 15, 2023
Merged

Feature: Use dagger factories instead of builders#159
infeo merged 7 commits intodevelopfrom
feature/use-dagger-factories

Conversation

@infeo
Copy link
Copy Markdown
Member

@infeo infeo commented Mar 15, 2023

This PR replaces all dagger @Subcomponent.Builders with dagger Factories.

Factories guarentee to always return a new instance and do not have a public state, hence they are threadsafe.

@infeo infeo added this to the 2.6.2 milestone Mar 15, 2023
@infeo infeo requested a review from overheadhunter March 15, 2023 10:20
@infeo infeo self-assigned this Mar 15, 2023
Copy link
Copy Markdown
Member

@overheadhunter overheadhunter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread src/test/java/org/cryptomator/cryptofs/fh/OpenCryptoFilesTest.java Outdated
Co-authored-by: Sebastian Stenzel <overheadhunter@users.noreply.github.com>
@infeo infeo merged commit 2594595 into develop Mar 15, 2023
@infeo infeo deleted the feature/use-dagger-factories branch March 15, 2023 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants