From 75a0a47a1e4113f0a569597293c9032243c56e42 Mon Sep 17 00:00:00 2001 From: cd2357 Date: Sat, 11 Jul 2020 18:47:34 +0200 Subject: [PATCH] Mark new ExchangeRateProviders as package-private Remove public modifier in their class definitions to preserve their package-private scope. --- pricenode/src/main/java/bisq/price/spot/providers/Binance.java | 2 +- pricenode/src/main/java/bisq/price/spot/providers/Bitfinex.java | 2 +- pricenode/src/main/java/bisq/price/spot/providers/Kraken.java | 2 +- pricenode/src/main/java/bisq/price/spot/providers/Poloniex.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pricenode/src/main/java/bisq/price/spot/providers/Binance.java b/pricenode/src/main/java/bisq/price/spot/providers/Binance.java index 3edf0291e9..c76f9175ee 100644 --- a/pricenode/src/main/java/bisq/price/spot/providers/Binance.java +++ b/pricenode/src/main/java/bisq/price/spot/providers/Binance.java @@ -29,7 +29,7 @@ import java.time.Duration; import java.util.Set; @Component -public class Binance extends ExchangeRateProvider { +class Binance extends ExchangeRateProvider { public Binance() { super("BINANCE", "binance", Duration.ofMinutes(1)); diff --git a/pricenode/src/main/java/bisq/price/spot/providers/Bitfinex.java b/pricenode/src/main/java/bisq/price/spot/providers/Bitfinex.java index 42aa21b142..e958d52232 100644 --- a/pricenode/src/main/java/bisq/price/spot/providers/Bitfinex.java +++ b/pricenode/src/main/java/bisq/price/spot/providers/Bitfinex.java @@ -29,7 +29,7 @@ import java.time.Duration; import java.util.Set; @Component -public class Bitfinex extends ExchangeRateProvider { +class Bitfinex extends ExchangeRateProvider { public Bitfinex() { super("BITFINEX", "bitfinex", Duration.ofMinutes(1)); diff --git a/pricenode/src/main/java/bisq/price/spot/providers/Kraken.java b/pricenode/src/main/java/bisq/price/spot/providers/Kraken.java index 912f2deab4..34db16a80f 100644 --- a/pricenode/src/main/java/bisq/price/spot/providers/Kraken.java +++ b/pricenode/src/main/java/bisq/price/spot/providers/Kraken.java @@ -29,7 +29,7 @@ import java.time.Duration; import java.util.Set; @Component -public class Kraken extends ExchangeRateProvider { +class Kraken extends ExchangeRateProvider { public Kraken() { super("KRAKEN", "kraken", Duration.ofMinutes(1)); diff --git a/pricenode/src/main/java/bisq/price/spot/providers/Poloniex.java b/pricenode/src/main/java/bisq/price/spot/providers/Poloniex.java index ec3521d5f7..e61ec36e6e 100644 --- a/pricenode/src/main/java/bisq/price/spot/providers/Poloniex.java +++ b/pricenode/src/main/java/bisq/price/spot/providers/Poloniex.java @@ -29,7 +29,7 @@ import java.time.Duration; import java.util.Set; @Component -public class Poloniex extends ExchangeRateProvider { +class Poloniex extends ExchangeRateProvider { public Poloniex() { super("POLO", "poloniex", Duration.ofMinutes(1));