mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-08-01 12:31:23 +00:00
wallet-template: Fix warning about missing @Nullable annotation.
This commit is contained in:
@@ -16,6 +16,8 @@ import wallettemplate.utils.WTUtils;
|
||||
import static com.google.common.base.Preconditions.checkState;
|
||||
import static wallettemplate.utils.GuiUtils.*;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class SendMoneyController {
|
||||
public Button sendBtn;
|
||||
public Button cancelBtn;
|
||||
@@ -57,7 +59,7 @@ public class SendMoneyController {
|
||||
sendResult = Main.bitcoin.wallet().sendCoins(req);
|
||||
Futures.addCallback(sendResult.broadcastComplete, new FutureCallback<Transaction>() {
|
||||
@Override
|
||||
public void onSuccess(Transaction result) {
|
||||
public void onSuccess(@Nullable Transaction result) {
|
||||
checkGuiThread();
|
||||
overlayUI.done();
|
||||
}
|
||||
|
Reference in New Issue
Block a user