Skip to content

Commit

Permalink
wallet-template: Fix warning about missing @nullable annotation.
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Aug 24, 2015
1 parent a12ec7f commit d4c7ce5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
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;
Expand Down Expand Up @@ -57,7 +59,7 @@ public void send(ActionEvent event) {
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();
}
Expand Down

0 comments on commit d4c7ce5

Please sign in to comment.