Source:
public void onUpdateBalances(Coin availableBalance, Coin availableNonBsqBalance, Coin unverifiedBalance, Coin unconfirmedChangeBalance, Coin lockedForVotingBalance, Coin lockupBondsBalance, Coin unlockingBondsBalance) { boolean isNonBsqBalanceAvailable = availableNonBsqBalance.value > 0; availableBalanceTextField.setText(bsqFormatter.formatCoinWithCode(availableBalance)); Coin verified = availableBalance.subtract(unconfirmedChangeBalance); verifiedBalanceTextField.setText(bsqFormatter.formatCoinWithCode(verified)); unconfirmedChangTextField.setText(bsqFormatter.formatCoinWithCode(unconfirmedChangeBalance)); unverifiedBalanceTextField.setText(bsqFormatter.formatCoinWithCode(unverifiedBalance)); lockedForVoteBalanceTextField.setText(bsqFormatter.formatCoinWithCode(lockedForVotingBalance)); lockedInBondsBalanceTextField.setText(bsqFormatter.formatCoinWithCode( lockupBondsBalance.add(unlockingBondsBalance))); if (lockupAmountTextField != null && unlockingAmountTextField != null) { lockupAmountTextField.setText(bsqFormatter.formatCoinWithCode(lockupBondsBalance)); unlockingAmountTextField.setText(bsqFormatter.formatCoinWithCode(unlockingBondsBalance)); } availableNonBsqBalanceLabel.setVisible(isNonBsqBalanceAvailable); availableNonBsqBalanceLabel.setManaged(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setVisible(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setManaged(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setText(bsqFormatter.formatBTCWithCode(availableNonBsqBalance.value)); reputationBalanceTextField.setText(bsqFormatter.formatBSQSatoshisWithCode(myBlindVoteListService.getCurrentlyAvailableMerit())); }

Target:
public void onUpdateBalances(Coin availableBalance, Coin availableNonBsqBalance, Coin unverifiedBalance, Coin unconfirmedChangeBalance, Coin lockedForVotingBalance, Coin lockupBondsBalance, Coin unlockingBondsBalance) { boolean isNonBsqBalanceAvailable = availableNonBsqBalance.value > 0; availableBalanceTextField.setText(bsqFormatter.formatCoinWithCode(availableBalance)); Coin verified = availableBalance.subtract(unconfirmedChangeBalance); verifiedBalanceTextField.setText(bsqFormatter.formatCoinWithCode(verified)); unconfirmedChangTextField.setText(bsqFormatter.formatCoinWithCode(unconfirmedChangeBalance)); unverifiedBalanceTextField.setText(bsqFormatter.formatCoinWithCode(unverifiedBalance)); lockedForVoteBalanceTextField.setText(bsqFormatter.formatCoinWithCode(lockedForVotingBalance)); lockedInBondsBalanceTextField.setText(bsqFormatter.formatCoinWithCode( lockupBondsBalance.add(unlockingBondsBalance))); if (lockupAmountTextField != null && unlockingAmountTextField != null) { lockupAmountTextField.setText(bsqFormatter.formatCoinWithCode(lockupBondsBalance)); unlockingAmountTextField.setText(bsqFormatter.formatCoinWithCode(unlockingBondsBalance)); } availableNonBsqBalanceLabel.setVisible(isNonBsqBalanceAvailable); availableNonBsqBalanceLabel.setManaged(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setVisible(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setManaged(isNonBsqBalanceAvailable); availableNonBsqBalanceTextField.setText(bsqFormatter.formatBTCWithCode(availableNonBsqBalance.value)); String bsqSatoshi = bsqFormatter.formatBSQSatoshisWithCode(daoFacade.getAvailableMerit()); reputationBalanceTextField.setText(bsqSatoshi); }