-
Notifications
You must be signed in to change notification settings - Fork 4
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
dbft: remove useless setters of dBFT interfaces #102
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #102 +/- ##
==========================================
- Coverage 63.80% 63.60% -0.21%
==========================================
Files 26 26
Lines 1575 1547 -28
==========================================
- Hits 1005 984 -21
+ Misses 502 495 -7
Partials 68 68 ☔ View full report in Codecov by Sentry. |
UPD: removed, they not needed anymore. New question: do we need to remove almost all setters and use constructors instead? Like this:
|
95f22e5
to
99932c0
Compare
99932c0
to
cb52841
Compare
Like that. I see no reason for our
pattern. It's just a bad interface. |
cb52841
to
6ac1365
Compare
Ref. #84 (comment). Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
A part of #84. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
A part of #84. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
A part of #84. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
A part of #84. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
A part of #84. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
6ac1365
to
a2fdfa4
Compare
@roman-khimov, can we keep two setters:
|
Sure, if they're justified. |
Ref. #84 (comment).