Capitalize 'Bitsquare' consistently

This commit is contained in:
Chris Beams 2014-10-30 13:41:24 +01:00
parent 9620993e4d
commit 88951d71b8
No known key found for this signature in database
GPG Key ID: 3D214F8F5BC5ED73
37 changed files with 108 additions and 110 deletions

View File

@ -13,7 +13,7 @@ sourceCompatibility = 1.8
sourceSets.main.resources.srcDirs += 'src/main/java'
mainClassName = "io.bitsquare.BitSquare"
mainClassName = "io.bitsquare.Bitsquare"
run {
if ( project.hasProperty('args') ) {

View File

@ -1 +1 @@
C:\Progra~1\Java\jdk1.8.0_20\bin\javapackager.exe -deploy -BappVersion=0.1.0 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir build -appclass io.bitsquare.BitSquare -srcfiles .\build\libs\bitsquare-0.1.0-SNAPSHOT-all.jar -outfile Bitsquare -Bruntime="c:\Program Files\Java\jdk1.8.0_20\jre"
C:\Progra~1\Java\jdk1.8.0_20\bin\javapackager.exe -deploy -BappVersion=0.1.0 -native exe -name Bitsquare -title Bitsquare -vendor Bitsquare -outdir build -appclass io.bitsquare.Bitsquare -srcfiles .\build\libs\bitsquare-0.1.0-SNAPSHOT-all.jar -outfile Bitsquare -Bruntime="c:\Program Files\Java\jdk1.8.0_20\jre"

View File

@ -46,8 +46,8 @@ import net.sourceforge.argparse4j.inf.Namespace;
import scala.concurrent.duration.Duration;
import scala.concurrent.duration.FiniteDuration;
public class BitSquare {
private static final Logger log = LoggerFactory.getLogger(BitSquare.class);
public class Bitsquare {
private static final Logger log = LoggerFactory.getLogger(Bitsquare.class);
private static String appName = "Bitsquare";
private static int clientPort;
@ -145,7 +145,7 @@ public class BitSquare {
else {
// We use a random port for the client if no port is passed to the application
clientPort = (port == -1) ? new Ports().tcpPort() : port;
Application.launch(BitSquareUI.class, args);
Application.launch(BitsquareUI.class, args);
}
}
}

View File

@ -18,7 +18,7 @@
package io.bitsquare;
import io.bitsquare.btc.WalletFacade;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.gui.AWTSystemTray;
import io.bitsquare.gui.Navigation;
import io.bitsquare.gui.components.Popups;
@ -49,8 +49,8 @@ import org.slf4j.LoggerFactory;
import akka.actor.ActorSystem;
import lighthouse.files.AppDirectory;
public class BitSquareUI extends Application {
private static final Logger log = LoggerFactory.getLogger(BitSquareUI.class);
public class BitsquareUI extends Application {
private static final Logger log = LoggerFactory.getLogger(BitsquareUI.class);
public static final boolean fillFormsWithDummyData = true;
@ -59,7 +59,7 @@ public class BitSquareUI extends Application {
private WalletFacade walletFacade;
private MessageFacade messageFacade;
public void BitSquareUI() {
public void BitsquareUI() {
Profiler.init();
}
@ -69,26 +69,26 @@ public class BitSquareUI extends Application {
@Override
public void start(Stage primaryStage) {
Profiler.printMsgWithTime("BitSquare.start called");
BitSquareUI.primaryStage = primaryStage;
Profiler.printMsgWithTime("Bitsquare.start called");
BitsquareUI.primaryStage = primaryStage;
Thread.currentThread().setUncaughtExceptionHandler((thread, throwable) -> Popups.handleUncaughtExceptions
(Throwables.getRootCause(throwable)));
try {
AppDirectory.initAppDir(BitSquare.getAppName());
AppDirectory.initAppDir(Bitsquare.getAppName());
} catch (IOException e) {
log.error(e.getMessage());
}
final Injector injector = Guice.createInjector(new BitSquareModule());
final Injector injector = Guice.createInjector(new BitsquareModule());
// currently there is not SystemTray support for java fx (planned for version 3) so we use the old AWT
AWTSystemTray.createSystemTray(primaryStage, injector.getInstance(ActorSystem.class), this);
walletFacade = injector.getInstance(WalletFacade.class);
messageFacade = injector.getInstance(MessageFacade.class);
Profiler.printMsgWithTime("BitSquare: messageFacade, walletFacade created");
Profiler.printMsgWithTime("Bitsquare: messageFacade, walletFacade created");
// apply stored data
final User user = injector.getInstance(User.class);
@ -101,7 +101,7 @@ public class BitSquareUI extends Application {
settings.applyPersistedSettings((Settings) persistence.read(settings.getClass().getName()));
primaryStage.setTitle("BitSquare (" + BitSquare.getAppName() + ")");
primaryStage.setTitle("Bitsquare (" + Bitsquare.getAppName() + ")");
// sometimes there is a rendering bug, see https://github.com/bitsquare/bitsquare/issues/160
if (ImageUtil.isRetina())

View File

@ -17,7 +17,7 @@
package io.bitsquare.btc;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.btc.listeners.AddressConfidenceListener;
import io.bitsquare.btc.listeners.BalanceListener;
import io.bitsquare.btc.listeners.TxConfidenceListener;
@ -95,7 +95,7 @@ public class WalletFacade {
public static final String MAIN_NET = "mainnet";
public static final String TEST_NET = "testnet";
public static final String REG_TEST_NET = "regtest";
public static final String WALLET_PREFIX = BitSquare.getAppName();
public static final String WALLET_PREFIX = Bitsquare.getAppName();
private final ReentrantLock lock = Threading.lock("lock");
private final NetworkParameters params;
@ -179,9 +179,9 @@ public class WalletFacade {
}
walletAppKit.setDownloadListener(downloadListener)
.setBlockingStartup(false)
.setUserAgent("BitSquare", "0.1");
/*
.setUserAgent("Bitsquare", "0.1");
/*
// TODO restore from DeterministicSeed
if (seed != null)
walletAppKit.restoreWalletFromSeed(seed);
@ -554,7 +554,7 @@ public class WalletFacade {
tx.addOutput(Transaction.MIN_NONDUST_OUTPUT, new ScriptBuilder().op(OP_RETURN).data(data).build());
// We don't take a fee at the moment
// 0.0000454 BTC will get extra to miners as it is lower then durst
// 0.0000454 BTC will get extra to miners as it is lower then durst
/* Coin fee = FeePolicy.REGISTRATION_FEE
.subtract(Transaction.MIN_NONDUST_OUTPUT)
.subtract(FeePolicy.TX_FEE);

View File

@ -18,7 +18,7 @@
package io.bitsquare.di;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.btc.BlockChainFacade;
import io.bitsquare.btc.FeePolicy;
import io.bitsquare.btc.WalletFacade;
@ -60,8 +60,8 @@ import org.slf4j.LoggerFactory;
import akka.actor.ActorSystem;
public class BitSquareModule extends AbstractModule {
private static final Logger log = LoggerFactory.getLogger(BitSquareModule.class);
public class BitsquareModule extends AbstractModule {
private static final Logger log = LoggerFactory.getLogger(BitsquareModule.class);
static Properties properties;
@ -112,11 +112,11 @@ class StaticSeedNodeAddressesProvider implements Provider<SeedNodeAddress.Static
private static final Logger log = LoggerFactory.getLogger(StaticSeedNodeAddressesProvider.class);
public SeedNodeAddress.StaticSeedNodeAddresses get() {
if (BitSquareModule.properties == null)
BitSquareModule.properties = ConfigLoader.loadConfig();
if (BitsquareModule.properties == null)
BitsquareModule.properties = ConfigLoader.loadConfig();
log.info("seedNode from config file: " + BitSquareModule.properties.getProperty("defaultSeedNode"));
String seedNodeFromConfig = BitSquareModule.properties.getProperty("defaultSeedNode");
log.info("seedNode from config file: " + BitsquareModule.properties.getProperty("defaultSeedNode"));
String seedNodeFromConfig = BitsquareModule.properties.getProperty("defaultSeedNode");
// Set default
//SeedNodeAddress.StaticSeedNodeAddresses seedNode = SeedNodeAddress.StaticSeedNodeAddresses.LOCALHOST;
@ -139,11 +139,11 @@ class NetworkParametersProvider implements Provider<NetworkParameters> {
NetworkParameters result = null;
//If config is available we override the networkType defined in Guice with the one from the config file
if (BitSquareModule.properties == null)
BitSquareModule.properties = ConfigLoader.loadConfig();
if (BitsquareModule.properties == null)
BitsquareModule.properties = ConfigLoader.loadConfig();
log.info("networkType from config file: " + BitSquareModule.properties.getProperty("networkType"));
String networkTypeFromConfig = BitSquareModule.properties.getProperty("networkType");
log.info("networkType from config file: " + BitsquareModule.properties.getProperty("networkType"));
String networkTypeFromConfig = BitsquareModule.properties.getProperty("networkType");
// Set default
// String networkType= WalletFacade.MAIN_NET;
@ -172,7 +172,7 @@ class ActorSystemProvider implements Provider<ActorSystem> {
@Override
public ActorSystem get() {
ActorSystem system = ActorSystem.create(BitSquare.getAppName());
ActorSystem system = ActorSystem.create(Bitsquare.getAppName());
// create top level actors
//system.actorOf(DHTManager.getProps(), DHTManager.SEED_NAME);

View File

@ -18,8 +18,8 @@
package io.bitsquare.gui;
import io.bitsquare.BitSquare;
import io.bitsquare.BitSquareUI;
import io.bitsquare.BitsquareUI;
import io.bitsquare.Bitsquare;
import io.bitsquare.gui.util.ImageUtil;
import java.awt.*;
@ -47,10 +47,10 @@ public class AWTSystemTray {
private static MenuItem showGuiItem;
private static Stage stage;
private static ActorSystem actorSystem;
private static BitSquareUI application;
private static BitsquareUI application;
private static TrayIcon trayIcon;
public static void createSystemTray(Stage stage, ActorSystem actorSystem, BitSquareUI application) {
public static void createSystemTray(Stage stage, ActorSystem actorSystem, BitsquareUI application) {
AWTSystemTray.stage = stage;
AWTSystemTray.actorSystem = actorSystem;
AWTSystemTray.application = application;
@ -65,10 +65,10 @@ public class AWTSystemTray {
else
trayIcon = new TrayIcon(getImage(ImageUtil.SYS_TRAY));
trayIcon.setToolTip("BitSquare P2P Fiat-Bitcoin exchange");
trayIcon.setToolTip("Bitsquare P2P Fiat-Bitcoin exchange");
PopupMenu popupMenu = new PopupMenu();
MenuItem aboutItem = new MenuItem("Info about " + BitSquare.getAppName());
MenuItem aboutItem = new MenuItem("Info about " + Bitsquare.getAppName());
popupMenu.add(aboutItem);
popupMenu.addSeparator();
showGuiItem = new MenuItem("Close exchange window");

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.components;
import io.bitsquare.BitSquareUI;
import io.bitsquare.BitsquareUI;
import io.bitsquare.gui.OverlayManager;
import io.bitsquare.locale.BSResources;
@ -70,7 +70,7 @@ public class Popups {
public static void openInfoPopup(String masthead, String message, List<Action> actions) {
Dialogs.create()
.owner(BitSquareUI.getPrimaryStage())
.owner(BitsquareUI.getPrimaryStage())
.message(message)
.masthead(masthead)
.actions(actions)
@ -107,7 +107,7 @@ public class Popups {
public static Action openConfirmPopup(String title, String masthead, String message, List<Action> actions) {
return Dialogs.create()
.owner(BitSquareUI.getPrimaryStage())
.owner(BitsquareUI.getPrimaryStage())
.title(title)
.message(message)
.masthead(masthead)
@ -140,7 +140,7 @@ public class Popups {
private static void openWarningPopup(String title, String masthead, String message, List<Action> actions) {
Dialogs.create()
.owner(BitSquareUI.getPrimaryStage())
.owner(BitsquareUI.getPrimaryStage())
.title(title)
.message(message)
.masthead(masthead)
@ -173,7 +173,7 @@ public class Popups {
private static Action openErrorPopup(String title, String masthead, String message, List<Action> actions) {
return Dialogs.create()
.owner(BitSquareUI.getPrimaryStage())
.owner(BitsquareUI.getPrimaryStage())
.title(title)
.message(message)
.masthead(masthead)
@ -202,7 +202,7 @@ public class Popups {
}
});
return Dialogs.create()
.owner(BitSquareUI.getPrimaryStage())
.owner(BitsquareUI.getPrimaryStage())
.title(title)
.message(message)
.masthead(masthead)

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.bank.BankAccount;
import io.bitsquare.btc.WalletFacade;
import io.bitsquare.gui.UIModel;
@ -104,10 +104,10 @@ class MainModel extends UIModel {
void initBackend() {
// For testing with the serverside seednode we need the BootstrappedPeerFactory which gets started form
// For testing with the serverside seednode we need the BootstrappedPeerFactory which gets started form
// messageFacade.init
messageFacade.init(BitSquare.getClientPort(), new BootstrapListener() {
messageFacade.init(Bitsquare.getClientPort(), new BootstrapListener() {
@Override
public void onCompleted() {
messageFacadeInited = true;

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.bank.BankAccount;
import io.bitsquare.gui.Navigation;
import io.bitsquare.gui.OverlayManager;
@ -165,7 +165,7 @@ public class MainViewCB extends ViewCB<MainPM> {
///////////////////////////////////////////////////////////////////////////////////////////
// Private Methods: Startup
// Private Methods: Startup
///////////////////////////////////////////////////////////////////////////////////////////
private void startup() {
@ -213,8 +213,8 @@ public class MainViewCB extends ViewCB<MainPM> {
numPendingTradesLabel.setText(String.valueOf(numPendingTrades));
}
log.trace("openInfoNotification " + BitSquare.getAppName());
SystemNotification.openInfoNotification(BitSquare.getAppName(), "You got a new trade message.");
log.trace("openInfoNotification " + Bitsquare.getAppName());
SystemNotification.openInfoNotification(Bitsquare.getAppName(), "You got a new trade message.");
}
else {
if (portfolioButtonButtonPane.getChildren().size() > 1)

View File

@ -17,8 +17,7 @@
package io.bitsquare.gui.main.account.arbitrator;
import io.bitsquare.BitSquare;
import io.bitsquare.BitSquareUI;
import io.bitsquare.BitsquareUI;
import io.bitsquare.gui.CachedViewCB;
import io.bitsquare.gui.Navigation;
import io.bitsquare.gui.main.account.arbitrator.registration.ArbitratorRegistrationViewCB;
@ -103,7 +102,7 @@ public class ArbitratorSettingsViewCB extends CachedViewCB {
final Parent view = loader.load();
arbitratorRegistrationViewCB = loader.getController();
final Stage rootStage = BitSquareUI.getPrimaryStage();
final Stage rootStage = BitsquareUI.getPrimaryStage();
final Stage stage = new Stage();
stage.setTitle("Arbitrator");
stage.setMinWidth(800);

View File

@ -17,8 +17,7 @@
package io.bitsquare.gui.main.account.content.restrictions;
import io.bitsquare.BitSquare;
import io.bitsquare.BitSquareUI;
import io.bitsquare.BitsquareUI;
import io.bitsquare.arbitrator.Arbitrator;
import io.bitsquare.gui.CachedViewCB;
import io.bitsquare.gui.Navigation;
@ -115,7 +114,7 @@ public class RestrictionsViewCB extends CachedViewCB<RestrictionsPM> implements
///////////////////////////////////////////////////////////////////////////////////////////
// ContextAware implementation
// ContextAware implementation
///////////////////////////////////////////////////////////////////////////////////////////
@Override
@ -197,7 +196,7 @@ public class RestrictionsViewCB extends CachedViewCB<RestrictionsPM> implements
Initializable childController = loader.getController();
//childController.setParentController(this);
final Stage rootStage = BitSquareUI.getPrimaryStage();
final Stage rootStage = BitsquareUI.getPrimaryStage();
final Stage stage = new Stage();
stage.setTitle("Arbitrator selection");
stage.setMinWidth(800);
@ -382,7 +381,7 @@ public class RestrictionsViewCB extends CachedViewCB<RestrictionsPM> implements
presentationModel.removeArbitrator(arbitrator);
}
/* private void addCountry(Country country) {
if (!countryList.contains(country) && country != null) {

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.help;
import io.bitsquare.BitSquareUI;
import io.bitsquare.BitsquareUI;
import java.net.MalformedURLException;
import java.net.URL;
@ -30,7 +30,7 @@ import javafx.stage.Stage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
// TODO Find good solution for a web based help content management system.
// TODO Find good solution for a web based help content management system.
public class Help {
private static final Logger log = LoggerFactory.getLogger(Help.class);
@ -49,7 +49,7 @@ public class Help {
if (helpWindow == null) {
helpWindow = new Stage();
helpWindow.initModality(Modality.NONE);
helpWindow.initOwner(BitSquareUI.getPrimaryStage());
helpWindow.initOwner(BitsquareUI.getPrimaryStage());
webView = new WebView();
helpWindow.setScene(new Scene(webView, 800, 600));
}

View File

@ -17,7 +17,7 @@
package io.bitsquare.persistence;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.util.FileUtil;
import org.bitcoinj.utils.Threading;
@ -52,7 +52,7 @@ public class Persistence {
private static final Logger log = LoggerFactory.getLogger(Persistence.class);
private static final ReentrantLock lock = Threading.lock("Storage");
private final String prefix = BitSquare.getAppName() + "_pref";
private final String prefix = Bitsquare.getAppName() + "_pref";
private final File storageFile = FileUtil.getFile(prefix, "ser");
@GuardedBy("lock")

View File

@ -46,9 +46,9 @@ public class BitsquareArgumentParser {
private final ArgumentParser parser;
public BitsquareArgumentParser() {
parser = ArgumentParsers.newArgumentParser("BitSquare")
parser = ArgumentParsers.newArgumentParser("Bitsquare")
.defaultHelp(true)
.description("BitSquare - The decentralized bitcoin exchange.");
.description("Bitsquare - The decentralized bitcoin exchange.");
parser.addArgument("-s", "--" + SEED_FLAG)
.action(Arguments.storeTrue())
.help("Start as DHT seed peer, no UI.");

View File

@ -37,5 +37,5 @@ import org.junit.runners.Suite;
BtcValidatorTest.class
})
public class BitSquareTestSuite {
public class BitsquareTestSuite {
}

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class AccountSettingsUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class AccountUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class RegistrationUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class SetupUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account.registration.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class FundRegistrationWalletUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.account.registration.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class RegistrationUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.portfolio.pending;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class PendingTradesUIRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.portfolio.pending.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class PendingTradesUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class FiatAccountUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class PasswordUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class RegistrationUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class RestrictionsUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class SeedWordsUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class BankAccountSettingsUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class RestrictionSettingsUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class SeedWordsUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.settings.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class SetPasswordUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.trade.createoffer;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class CreateOfferUITestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.gui.main.trade.createoffer.uimock;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -53,7 +53,7 @@ public class CreateOfferUIMockRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();

View File

@ -17,7 +17,7 @@
package io.bitsquare.msg.dhttest;
import io.bitsquare.BitSquare;
import io.bitsquare.Bitsquare;
import io.bitsquare.bank.BankAccountType;
import io.bitsquare.gui.main.trade.offerbook.OfferBookListItem;
import io.bitsquare.locale.CountryUtil;
@ -77,7 +77,7 @@ public class DHTTestController implements Initializable {
@Override
public void initialize(URL url, ResourceBundle rb) {
messageFacade.init(BitSquare.getClientPort(), new BootstrapListener() {
messageFacade.init(Bitsquare.getClientPort(), new BootstrapListener() {
@Override
public void onCompleted() {
onMessageFacadeInitialised();

View File

@ -17,7 +17,7 @@
package io.bitsquare.msg.dhttest;
import io.bitsquare.di.BitSquareModule;
import io.bitsquare.di.BitsquareModule;
import io.bitsquare.util.ViewLoader;
import com.google.inject.Guice;
@ -50,7 +50,7 @@ public class DHTTestRunner extends Application {
@Override
public void start(Stage primaryStage) throws IOException {
Injector injector = Guice.createInjector(new BitSquareModule());
Injector injector = Guice.createInjector(new BitsquareModule());
ViewLoader.setInjector(injector);
pane = new StackPane();