Skip to content

Commit

Permalink
Reverting non-relevant changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrosseel committed Oct 12, 2017
1 parent 0755cac commit a8bcc4a
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,10 @@ language: java
jdk: oraclejdk8

script: mvn clean install -DskipTests

notifications:
slack:
rooms:
- secure: H82Q57T5nRNDfVnxzlWZ2WoeGt71oq2eJGHbqJ4wP2tIc8b02UO9bztPKFxbm9slMu0JjxZdJfnHSgNZKfPVXrTqwPYRVjKqm7m9TynIlkQabV+yCI/oRvy4Xi/Xj7/aPvZat4s/bxjrtw9KwVdpmqWvRNNSgiTqQ4teBJ1uQGs=
on_success: change
on_failure: always
2 changes: 1 addition & 1 deletion common/src/main/java/io/bisq/common/UserThread.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static void execute(Runnable command) {
}


// Prefer FxTimer if a delay is needed in a JavaFx class (gui module)
// Prefer FxTimer if a delay is needed in a JavaFx class (gui module)
public static Timer runAfterRandomDelay(Runnable runnable, long minDelayInSec, long maxDelayInSec) {
return UserThread.runAfterRandomDelay(runnable, minDelayInSec, maxDelayInSec, TimeUnit.SECONDS);
}
Expand Down
4 changes: 2 additions & 2 deletions common/src/main/java/io/bisq/common/app/DevEnv.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ public class DevEnv {
// peer (click user icon and alt+r), filter/block offers by various data like offer ID (cmd + f).
// The user can set a program argument to ignore all of those privileged network_messages. They are intended for
// emergency cases only (beside update message and arbitrator registration).
public static final boolean USE_DEV_PRIVILEGE_KEYS = true;
public static final boolean USE_DEV_PRIVILEGE_KEYS = false;
public static final String DEV_PRIVILEGE_PUB_KEY = "027a381b5333a56e1cc3d90d3a7d07f26509adf7029ed06fc997c656621f8da1ee";
public static final String DEV_PRIVILEGE_PRIV_KEY = "6ac43ea1df2a290c1c8391736aa42e4339c5cb4f110ff0257a13b63211977b7a";


// If set to true we ignore several UI behavior like confirmation popups as well dummy accounts are created and
// offers are filled with default values. Intended to make dev testing faster.
@SuppressWarnings("PointlessBooleanExpression")
public static final boolean DEV_MODE = STRESS_TEST_MODE || true;
public static final boolean DEV_MODE = STRESS_TEST_MODE || false;

public static final boolean DAO_PHASE2_ACTIVATED = false;
}
2 changes: 1 addition & 1 deletion common/src/main/java/io/bisq/common/locale/BankUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static boolean isBankNameRequired(String countryCode) {
case "CA":
case "SE":
case "HK":
// We show always the bank name as it is needed in specific banks.
// We show always the bank name as it is needed in specific banks.
// Though that handling should be optimized in futures.
return true;
// return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class CurrencyTuple {

public CurrencyTuple(String code, String name) {
// We use Fiat class and there precision is 4
// In future we might add custom precision per currency
// In future we might add custom precision per currency
this(code, name, 4);
}

Expand Down
4 changes: 2 additions & 2 deletions common/src/main/java/io/bisq/common/locale/LocaleUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ public class LocaleUtil {

public static List<Locale> getAllLocales() {

// derived form Locale.getAvailableLocales() and added some missing locales
// Key is ISO 639-1 code (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), value is ISO 3166 country code
// derived form Locale.getAvailableLocales() and added some missing locales
// Key is ISO 639-1 code (https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes), value is ISO 3166 country code
List<Locale> allLocales = new ArrayList<>();

allLocales.add(new Locale("bg", "", ""));
Expand Down

0 comments on commit a8bcc4a

Please sign in to comment.