mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-21 05:14:31 -04:00
reformatting
This commit is contained in:
parent
7fee8b665e
commit
ab6ae89c38
30 changed files with 48 additions and 49 deletions
|
@ -24,8 +24,8 @@ import io.bitsquare.gui.NavigationItem;
|
||||||
import io.bitsquare.gui.components.Popups;
|
import io.bitsquare.gui.components.Popups;
|
||||||
import io.bitsquare.gui.util.Profiler;
|
import io.bitsquare.gui.util.Profiler;
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
import io.bitsquare.settings.Settings;
|
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
|
import io.bitsquare.settings.Settings;
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
import io.bitsquare.util.AWTSystemTray;
|
import io.bitsquare.util.AWTSystemTray;
|
||||||
import io.bitsquare.util.AppDirectoryUtil;
|
import io.bitsquare.util.AppDirectoryUtil;
|
||||||
|
|
|
@ -43,7 +43,7 @@ import org.slf4j.LoggerFactory;
|
||||||
/**
|
/**
|
||||||
* Well known node which is reachable for all peers for bootstrapping.
|
* Well known node which is reachable for all peers for bootstrapping.
|
||||||
* There will be several SeedNodes running on several servers.
|
* There will be several SeedNodes running on several servers.
|
||||||
* <p/>
|
* <p>
|
||||||
* TODO: Alternative bootstrap methods will follow later (save locally list of known nodes reported form other peers...)
|
* TODO: Alternative bootstrap methods will follow later (save locally list of known nodes reported form other peers...)
|
||||||
*/
|
*/
|
||||||
public class SeedNode extends Thread {
|
public class SeedNode extends Thread {
|
||||||
|
|
|
@ -103,7 +103,7 @@ public class GuiceFXMLLoader {
|
||||||
* A JavaFX controller factory for constructing controllers via Guice DI. To
|
* A JavaFX controller factory for constructing controllers via Guice DI. To
|
||||||
* install this in the {@link javafx.fxml.FXMLLoader}, pass it as a parameter to
|
* install this in the {@link javafx.fxml.FXMLLoader}, pass it as a parameter to
|
||||||
* {@link javafx.fxml.FXMLLoader#setControllerFactory(javafx.util.Callback)}.
|
* {@link javafx.fxml.FXMLLoader#setControllerFactory(javafx.util.Callback)}.
|
||||||
* <p/>
|
* <p>
|
||||||
* Once set, make sure you do <b>not</b> use the static methods on
|
* Once set, make sure you do <b>not</b> use the static methods on
|
||||||
* {@link javafx.fxml.FXMLLoader} when creating your JavaFX node.
|
* {@link javafx.fxml.FXMLLoader} when creating your JavaFX node.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -27,8 +27,8 @@ import io.bitsquare.gui.util.BSFormatter;
|
||||||
import io.bitsquare.gui.util.ImageUtil;
|
import io.bitsquare.gui.util.ImageUtil;
|
||||||
import io.bitsquare.gui.util.Profiler;
|
import io.bitsquare.gui.util.Profiler;
|
||||||
import io.bitsquare.gui.util.Transitions;
|
import io.bitsquare.gui.util.Transitions;
|
||||||
import io.bitsquare.msg.listeners.BootstrapListener;
|
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
|
import io.bitsquare.msg.listeners.BootstrapListener;
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
import io.bitsquare.trade.TradeManager;
|
import io.bitsquare.trade.TradeManager;
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
package io.bitsquare.gui.arbitrators.browser;
|
package io.bitsquare.gui.arbitrators.browser;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
import io.bitsquare.di.GuiceFXMLLoader;
|
import io.bitsquare.di.GuiceFXMLLoader;
|
||||||
import io.bitsquare.gui.CachedViewController;
|
import io.bitsquare.gui.CachedViewController;
|
||||||
import io.bitsquare.gui.NavigationItem;
|
import io.bitsquare.gui.NavigationItem;
|
||||||
|
@ -25,9 +26,8 @@ import io.bitsquare.gui.arbitrators.profile.ArbitratorProfileController;
|
||||||
import io.bitsquare.locale.LanguageUtil;
|
import io.bitsquare.locale.LanguageUtil;
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
import io.bitsquare.msg.listeners.ArbitratorListener;
|
import io.bitsquare.msg.listeners.ArbitratorListener;
|
||||||
import io.bitsquare.settings.Settings;
|
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
import io.bitsquare.settings.Settings;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ import net.tomp2p.storage.Data;
|
||||||
* TODO remove tomp2p dependencies
|
* TODO remove tomp2p dependencies
|
||||||
* import net.tomp2p.peers.Number160;
|
* import net.tomp2p.peers.Number160;
|
||||||
* import net.tomp2p.storage.Data;
|
* import net.tomp2p.storage.Data;
|
||||||
*
|
* <p>
|
||||||
* Arbitration is not much developed yet
|
* Arbitration is not much developed yet
|
||||||
*/
|
*/
|
||||||
public class ArbitratorBrowserController extends CachedViewController implements ArbitratorListener {
|
public class ArbitratorBrowserController extends CachedViewController implements ArbitratorListener {
|
||||||
|
|
|
@ -17,13 +17,13 @@
|
||||||
|
|
||||||
package io.bitsquare.gui.arbitrators.profile;
|
package io.bitsquare.gui.arbitrators.profile;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
import io.bitsquare.gui.CachedViewController;
|
import io.bitsquare.gui.CachedViewController;
|
||||||
import io.bitsquare.gui.NavigationItem;
|
import io.bitsquare.gui.NavigationItem;
|
||||||
import io.bitsquare.gui.ViewController;
|
import io.bitsquare.gui.ViewController;
|
||||||
import io.bitsquare.gui.util.BSFormatter;
|
import io.bitsquare.gui.util.BSFormatter;
|
||||||
import io.bitsquare.settings.Settings;
|
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
import io.bitsquare.settings.Settings;
|
||||||
|
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
|
|
||||||
|
|
|
@ -17,21 +17,21 @@
|
||||||
|
|
||||||
package io.bitsquare.gui.arbitrators.registration;
|
package io.bitsquare.gui.arbitrators.registration;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
|
import io.bitsquare.arbitrator.Reputation;
|
||||||
import io.bitsquare.btc.WalletFacade;
|
import io.bitsquare.btc.WalletFacade;
|
||||||
import io.bitsquare.gui.CachedViewController;
|
import io.bitsquare.gui.CachedViewController;
|
||||||
import io.bitsquare.gui.NavigationItem;
|
import io.bitsquare.gui.NavigationItem;
|
||||||
import io.bitsquare.gui.ViewController;
|
import io.bitsquare.gui.ViewController;
|
||||||
import io.bitsquare.gui.arbitrators.profile.ArbitratorProfileController;
|
import io.bitsquare.gui.arbitrators.profile.ArbitratorProfileController;
|
||||||
|
import io.bitsquare.gui.components.ConfidenceDisplay;
|
||||||
import io.bitsquare.gui.components.confidence.ConfidenceProgressIndicator;
|
import io.bitsquare.gui.components.confidence.ConfidenceProgressIndicator;
|
||||||
import io.bitsquare.gui.util.BSFormatter;
|
import io.bitsquare.gui.util.BSFormatter;
|
||||||
import io.bitsquare.gui.util.BitSquareValidator;
|
import io.bitsquare.gui.util.BitSquareValidator;
|
||||||
import io.bitsquare.gui.components.ConfidenceDisplay;
|
|
||||||
import io.bitsquare.locale.LanguageUtil;
|
import io.bitsquare.locale.LanguageUtil;
|
||||||
import io.bitsquare.locale.Localisation;
|
import io.bitsquare.locale.Localisation;
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
|
||||||
import io.bitsquare.arbitrator.Reputation;
|
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
import io.bitsquare.util.DSAKeyUtil;
|
import io.bitsquare.util.DSAKeyUtil;
|
||||||
|
|
||||||
|
|
|
@ -45,22 +45,22 @@ import javafx.scene.control.*;
|
||||||
* <p>
|
* <p>
|
||||||
* ProgressIndicator sets focusTraversable to false.
|
* ProgressIndicator sets focusTraversable to false.
|
||||||
* </p>
|
* </p>
|
||||||
* <p/>
|
* <p>
|
||||||
* <p/>
|
* <p>
|
||||||
* This first example creates a ProgressIndicator with an indeterminate value :
|
* This first example creates a ProgressIndicator with an indeterminate value :
|
||||||
* <pre><code>
|
* <pre><code>
|
||||||
* import javafx.scene.control.ProgressIndicator;
|
* import javafx.scene.control.ProgressIndicator;
|
||||||
* ProgressIndicator p1 = new ProgressIndicator();
|
* ProgressIndicator p1 = new ProgressIndicator();
|
||||||
* </code></pre>
|
* </code></pre>
|
||||||
* <p/>
|
* <p>
|
||||||
* <p/>
|
* <p>
|
||||||
* This next example creates a ProgressIndicator which is 25% complete :
|
* This next example creates a ProgressIndicator which is 25% complete :
|
||||||
* <pre><code>
|
* <pre><code>
|
||||||
* import javafx.scene.control.ProgressIndicator;
|
* import javafx.scene.control.ProgressIndicator;
|
||||||
* ProgressIndicator p2 = new ProgressIndicator();
|
* ProgressIndicator p2 = new ProgressIndicator();
|
||||||
* p2.setProgress(0.25F);
|
* p2.setProgress(0.25F);
|
||||||
* </code></pre>
|
* </code></pre>
|
||||||
* <p/>
|
* <p>
|
||||||
* Implementation of ProgressIndicator According to JavaFX UI Control API Specification
|
* Implementation of ProgressIndicator According to JavaFX UI Control API Specification
|
||||||
*
|
*
|
||||||
* @since JavaFX 2.0
|
* @since JavaFX 2.0
|
||||||
|
@ -83,7 +83,7 @@ public class ConfidenceProgressIndicator extends Control {
|
||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
/**
|
/**
|
||||||
* Initialize the style class to 'progress-indicator'.
|
* Initialize the style class to 'progress-indicator'.
|
||||||
* <p/>
|
* <p>
|
||||||
* This is the selector class from which CSS can be used to style
|
* This is the selector class from which CSS can be used to style
|
||||||
* this control.
|
* this control.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -33,6 +33,7 @@ import com.sun.javafx.scene.control.behavior.BehaviorBase;
|
||||||
|
|
||||||
// TODO Copied form OpenJFX, check license issues and way how we integrated it
|
// TODO Copied form OpenJFX, check license issues and way how we integrated it
|
||||||
// We changed behaviour which was not exposed via APIs
|
// We changed behaviour which was not exposed via APIs
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param <C>
|
* @param <C>
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -27,6 +27,7 @@ import javax.inject.Inject;
|
||||||
|
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
//TODO impl. missing yet
|
//TODO impl. missing yet
|
||||||
public class ClosedTradeController extends CachedViewController {
|
public class ClosedTradeController extends CachedViewController {
|
||||||
private static final Logger log = LoggerFactory.getLogger(ClosedTradeController.class);
|
private static final Logger log = LoggerFactory.getLogger(ClosedTradeController.class);
|
||||||
|
|
|
@ -22,9 +22,9 @@ import io.bitsquare.bank.BankAccountType;
|
||||||
import io.bitsquare.btc.FeePolicy;
|
import io.bitsquare.btc.FeePolicy;
|
||||||
import io.bitsquare.btc.WalletFacade;
|
import io.bitsquare.btc.WalletFacade;
|
||||||
import io.bitsquare.gui.CachedViewController;
|
import io.bitsquare.gui.CachedViewController;
|
||||||
|
import io.bitsquare.gui.components.ConfidenceDisplay;
|
||||||
import io.bitsquare.gui.components.confidence.ConfidenceProgressIndicator;
|
import io.bitsquare.gui.components.confidence.ConfidenceProgressIndicator;
|
||||||
import io.bitsquare.gui.util.BSFormatter;
|
import io.bitsquare.gui.util.BSFormatter;
|
||||||
import io.bitsquare.gui.components.ConfidenceDisplay;
|
|
||||||
import io.bitsquare.gui.util.ImageUtil;
|
import io.bitsquare.gui.util.ImageUtil;
|
||||||
import io.bitsquare.locale.Country;
|
import io.bitsquare.locale.Country;
|
||||||
import io.bitsquare.locale.Localisation;
|
import io.bitsquare.locale.Localisation;
|
||||||
|
|
|
@ -18,6 +18,8 @@
|
||||||
package io.bitsquare.gui.settings;
|
package io.bitsquare.gui.settings;
|
||||||
|
|
||||||
import io.bitsquare.BitSquare;
|
import io.bitsquare.BitSquare;
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
|
import io.bitsquare.arbitrator.Reputation;
|
||||||
import io.bitsquare.bank.BankAccount;
|
import io.bitsquare.bank.BankAccount;
|
||||||
import io.bitsquare.bank.BankAccountType;
|
import io.bitsquare.bank.BankAccountType;
|
||||||
import io.bitsquare.di.GuiceFXMLLoader;
|
import io.bitsquare.di.GuiceFXMLLoader;
|
||||||
|
@ -34,10 +36,8 @@ import io.bitsquare.locale.LanguageUtil;
|
||||||
import io.bitsquare.locale.Localisation;
|
import io.bitsquare.locale.Localisation;
|
||||||
import io.bitsquare.locale.Region;
|
import io.bitsquare.locale.Region;
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
import io.bitsquare.settings.Settings;
|
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
import io.bitsquare.settings.Settings;
|
||||||
import io.bitsquare.arbitrator.Reputation;
|
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
import io.bitsquare.util.DSAKeyUtil;
|
import io.bitsquare.util.DSAKeyUtil;
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,8 @@ import io.bitsquare.locale.Country;
|
||||||
import io.bitsquare.locale.CurrencyUtil;
|
import io.bitsquare.locale.CurrencyUtil;
|
||||||
import io.bitsquare.locale.Localisation;
|
import io.bitsquare.locale.Localisation;
|
||||||
import io.bitsquare.msg.MessageFacade;
|
import io.bitsquare.msg.MessageFacade;
|
||||||
import io.bitsquare.settings.Settings;
|
|
||||||
import io.bitsquare.persistence.Persistence;
|
import io.bitsquare.persistence.Persistence;
|
||||||
|
import io.bitsquare.settings.Settings;
|
||||||
import io.bitsquare.trade.Direction;
|
import io.bitsquare.trade.Direction;
|
||||||
import io.bitsquare.trade.Offer;
|
import io.bitsquare.trade.Offer;
|
||||||
import io.bitsquare.trade.orderbook.OrderBook;
|
import io.bitsquare.trade.orderbook.OrderBook;
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FiatNumberValidator for validating fiat values.
|
* FiatNumberValidator for validating fiat values.
|
||||||
* <p/>
|
* <p>
|
||||||
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
||||||
*/
|
*/
|
||||||
public class FiatValidator extends NumberValidator {
|
public class FiatValidator extends NumberValidator {
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
|
||||||
* Localisation not supported at the moment
|
* Localisation not supported at the moment
|
||||||
* The decimal mark can be either "." or ",". Thousand separators are not supported yet,
|
* The decimal mark can be either "." or ",". Thousand separators are not supported yet,
|
||||||
* but might be added alter with Local support.
|
* but might be added alter with Local support.
|
||||||
* <p/>
|
* <p>
|
||||||
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
||||||
*/
|
*/
|
||||||
public abstract class InputValidator {
|
public abstract class InputValidator {
|
||||||
|
|
|
@ -25,7 +25,7 @@ import org.slf4j.LoggerFactory;
|
||||||
* Localisation not supported at the moment
|
* Localisation not supported at the moment
|
||||||
* The decimal mark can be either "." or ",". Thousand separators are not supported yet,
|
* The decimal mark can be either "." or ",". Thousand separators are not supported yet,
|
||||||
* but might be added alter with Local support.
|
* but might be added alter with Local support.
|
||||||
* <p/>
|
* <p>
|
||||||
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
* That class implements just what we need for the moment. It is not intended as a general purpose library class.
|
||||||
*/
|
*/
|
||||||
public abstract class NumberValidator extends InputValidator {
|
public abstract class NumberValidator extends InputValidator {
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
package io.bitsquare.msg;
|
package io.bitsquare.msg;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
import io.bitsquare.msg.listeners.ArbitratorListener;
|
import io.bitsquare.msg.listeners.ArbitratorListener;
|
||||||
import io.bitsquare.msg.listeners.BootstrapListener;
|
import io.bitsquare.msg.listeners.BootstrapListener;
|
||||||
import io.bitsquare.msg.listeners.GetPeerAddressListener;
|
import io.bitsquare.msg.listeners.GetPeerAddressListener;
|
||||||
|
@ -25,7 +26,6 @@ import io.bitsquare.msg.listeners.OrderBookListener;
|
||||||
import io.bitsquare.msg.listeners.OutgoingTradeMessageListener;
|
import io.bitsquare.msg.listeners.OutgoingTradeMessageListener;
|
||||||
import io.bitsquare.trade.Offer;
|
import io.bitsquare.trade.Offer;
|
||||||
import io.bitsquare.trade.protocol.trade.TradeMessage;
|
import io.bitsquare.trade.protocol.trade.TradeMessage;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
|
|
||||||
import com.google.common.util.concurrent.FutureCallback;
|
import com.google.common.util.concurrent.FutureCallback;
|
||||||
|
@ -68,7 +68,7 @@ import org.slf4j.LoggerFactory;
|
||||||
* It is the translating domain specific functionality to the messaging layer.
|
* It is the translating domain specific functionality to the messaging layer.
|
||||||
* The TomP2P library codebase shall not be used outside that facade.
|
* The TomP2P library codebase shall not be used outside that facade.
|
||||||
* That way we limit the dependency of the TomP2P library only to that class (and it's sub components).
|
* That way we limit the dependency of the TomP2P library only to that class (and it's sub components).
|
||||||
* <p/>
|
* <p>
|
||||||
* TODO: improve callbacks that Platform.runLater is not necessary. We call usually that methods form teh UI thread.
|
* TODO: improve callbacks that Platform.runLater is not necessary. We call usually that methods form teh UI thread.
|
||||||
*/
|
*/
|
||||||
public class MessageFacade implements MessageBroker {
|
public class MessageFacade implements MessageBroker {
|
||||||
|
|
|
@ -17,8 +17,8 @@
|
||||||
|
|
||||||
package io.bitsquare.settings;
|
package io.bitsquare.settings;
|
||||||
|
|
||||||
import io.bitsquare.locale.Country;
|
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
|
import io.bitsquare.locale.Country;
|
||||||
|
|
||||||
import com.google.bitcoin.core.Coin;
|
import com.google.bitcoin.core.Coin;
|
||||||
|
|
||||||
|
|
|
@ -17,9 +17,9 @@
|
||||||
|
|
||||||
package io.bitsquare.trade;
|
package io.bitsquare.trade;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
import io.bitsquare.bank.BankAccountType;
|
import io.bitsquare.bank.BankAccountType;
|
||||||
import io.bitsquare.locale.Country;
|
import io.bitsquare.locale.Country;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
|
||||||
|
|
||||||
import com.google.bitcoin.core.Coin;
|
import com.google.bitcoin.core.Coin;
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
package io.bitsquare.trade.orderbook;
|
package io.bitsquare.trade.orderbook;
|
||||||
|
|
||||||
|
import io.bitsquare.arbitrator.Arbitrator;
|
||||||
import io.bitsquare.bank.BankAccount;
|
import io.bitsquare.bank.BankAccount;
|
||||||
import io.bitsquare.gui.trade.orderbook.OrderBookListItem;
|
import io.bitsquare.gui.trade.orderbook.OrderBookListItem;
|
||||||
import io.bitsquare.locale.Country;
|
import io.bitsquare.locale.Country;
|
||||||
|
@ -27,7 +28,6 @@ import io.bitsquare.settings.Settings;
|
||||||
import io.bitsquare.trade.Direction;
|
import io.bitsquare.trade.Direction;
|
||||||
import io.bitsquare.trade.Offer;
|
import io.bitsquare.trade.Offer;
|
||||||
import io.bitsquare.trade.TradeManager;
|
import io.bitsquare.trade.TradeManager;
|
||||||
import io.bitsquare.arbitrator.Arbitrator;
|
|
||||||
import io.bitsquare.user.User;
|
import io.bitsquare.user.User;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -60,9 +60,9 @@ import static io.bitsquare.util.Validator.*;
|
||||||
/**
|
/**
|
||||||
* Responsible for the correct execution of the sequence of tasks, message passing to the peer and message processing
|
* Responsible for the correct execution of the sequence of tasks, message passing to the peer and message processing
|
||||||
* from the peer.
|
* from the peer.
|
||||||
* <p/>
|
* <p>
|
||||||
* This class handles the role of the offerer as the Bitcoin buyer.
|
* This class handles the role of the offerer as the Bitcoin buyer.
|
||||||
* <p/>
|
* <p>
|
||||||
* It uses sub tasks to not pollute the main class too much with all the async result/fault handling.
|
* It uses sub tasks to not pollute the main class too much with all the async result/fault handling.
|
||||||
* Any data from incoming messages need to be validated before further processing.
|
* Any data from incoming messages need to be validated before further processing.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -118,9 +118,6 @@ public class CreateOfferPresenterTest {
|
||||||
assertEquals("Italy, Spain", presenter.acceptedCountries.get());
|
assertEquals("Italy, Spain", presenter.acceptedCountries.get());
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue