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

inject CorruptedDataFilesHandler instead of making it static #3107

Merged
merged 7 commits into from
Aug 20, 2019

Conversation

christophsturm
Copy link
Contributor

just a small rabbit-hole that i went down while looking at the code.

storage can probably be injected directly in more places but i didn't want to change any logic in this pr.

Copy link
Contributor

@ManfredKarrer ManfredKarrer left a comment

Choose a reason for hiding this comment

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

utACK

@@ -137,7 +138,7 @@ public DisputeManager(P2PService p2PService,
OpenOfferManager openOfferManager,
KeyRing keyRing,
PersistenceProtoResolver persistenceProtoResolver,
@Named(Storage.STORAGE_DIR) File storageDir) {
@Named(Storage.STORAGE_DIR) File storageDir, CorruptedDatabaseFilesHandler corruptedDatabaseFilesHandler) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a line break. So params are better separated/readable?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

sure, i wonder if there is a way to make idea do it automatically.

@ripcurlx
Copy link
Contributor

Just a small thing regarding commit messages. Please start them with uppercase https://chris.beams.io/posts/git-commit/

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK - But please see my comment for future commits.

@ripcurlx ripcurlx merged commit 85a93ba into bisq-network:master Aug 20, 2019
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.

3 participants