mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Fix wrong initial value.
For myGenesisOutputNames we check for null not Optional.empty as empty is a valid case and we do not want to wrap the optional field into another Optional. Also myCompensationRequestNames is using a null check and gets reset to null instead of an empty set as the empty set is a valid case as well. Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
5799fb27eb
commit
78d3fd8d44
1 changed files with 2 additions and 2 deletions
|
@ -55,8 +55,8 @@ public class BurningManPresentationService implements DaoStateListener {
|
|||
private final Map<String, BurningManCandidate> burningManCandidatesByName = new HashMap<>();
|
||||
private final Set<ReimbursementModel> reimbursements = new HashSet<>();
|
||||
private Optional<Long> averageDistributionPerCycle = Optional.empty();
|
||||
private Set<String> myCompensationRequestNames;
|
||||
private Optional<Set<String>> myGenesisOutputNames = Optional.empty();
|
||||
private Set<String> myCompensationRequestNames = null;
|
||||
private Optional<Set<String>> myGenesisOutputNames = null;
|
||||
|
||||
@Inject
|
||||
public BurningManPresentationService(DaoStateService daoStateService,
|
||||
|
|
Loading…
Add table
Reference in a new issue