Mark new ExchangeRateProviders as package-private

Remove public modifier in their class definitions to
preserve their package-private scope.
This commit is contained in:
cd2357 2020-07-11 18:47:34 +02:00
parent 020547e19b
commit 75a0a47a1e
No known key found for this signature in database
GPG Key ID: F26C56748514D0D3
4 changed files with 4 additions and 4 deletions

View File

@ -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));

View File

@ -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));

View File

@ -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));

View File

@ -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));