Browse files

* resolve a bunch of unchecked casts/compiler warnings (#25)

* interface methods do not need to be explicitly public, they are public by nature
  • Loading branch information...
loxal authored and matsjj committed May 18, 2016
1 parent bc55b9b commit 5befc2f8f80022e71552abae30e6af03a354fab2
@@ -6,6 +6,7 @@
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.Node;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.control.ListView;
@@ -59,7 +60,7 @@
private Button sendMoneyOutBtn;
private ListView blockchainTxList;
private ListView<Transaction> blockchainTxList;
private Label balance;
@@ -98,25 +99,25 @@
private Button syncButton;
private ListView nodesList;
private ListView<PubkeyIPObject> nodesList;
private ListView channelNetworkList;
private ListView<Node> channelNetworkList;
private ListView channelList;
private ListView<Channel> channelList;
private ListView thunderTxListIncluded;
private ListView<PaymentWrapper> thunderTxListIncluded;
private ListView thunderTxListSettled;
private ListView<Node> thunderTxListSettled;
private ListView thunderTxListOpen;
private ListView<Node> thunderTxListOpen;
private ListView thunderTxListRefunded;
private ListView<Node> thunderTxListRefunded;
private Label thunderBalance;
@@ -4,5 +4,5 @@
import network.thunder.core.communication.layer.high.Channel;
public interface LNEstablish extends Message {
public Channel saveToChannel (Channel channel);
Channel saveToChannel(Channel channel);
@@ -4,11 +4,11 @@
import org.bitcoinj.core.Transaction;
public interface BlockchainHelper {
public boolean broadcastTransaction (Transaction tx);
boolean broadcastTransaction(Transaction tx);
public void addTxListener (OnTxCommand executor);
void addTxListener(OnTxCommand executor);
public void addBlockListener (OnBlockCommand executor);
void addBlockListener(OnBlockCommand executor);
public Transaction getTransaction (Sha256Hash hash);
Transaction getTransaction(Sha256Hash hash);
@@ -2,7 +2,7 @@
public interface Result {
public abstract boolean wasSuccessful ();
boolean wasSuccessful();
public abstract String getMessage ();
String getMessage();

0 comments on commit 5befc2f

Please sign in to comment.