diff --git a/commons/mail-service/build.gradle b/commons/mail-service/build.gradle index 4fa8e05..a4d1409 100644 --- a/commons/mail-service/build.gradle +++ b/commons/mail-service/build.gradle @@ -6,8 +6,6 @@ bootJar.enabled = false dependencies { compile project(':commons:model') - compile project(':commons:bitcoin') - compile project(':commons:ethereum') compile project(':commons:amqp-service') // Spring Boot diff --git a/commons/mail-service/src/main/java/io/iconator/commons/mailservice/MailContentBuilder.java b/commons/mail-service/src/main/java/io/iconator/commons/mailservice/MailContentBuilder.java index b71a39c..7920f2b 100644 --- a/commons/mail-service/src/main/java/io/iconator/commons/mailservice/MailContentBuilder.java +++ b/commons/mail-service/src/main/java/io/iconator/commons/mailservice/MailContentBuilder.java @@ -1,7 +1,5 @@ package io.iconator.commons.mailservice; -import io.iconator.commons.bitcoin.BitcoinAddressService; -import io.iconator.commons.ethereum.EthereumAddressService; import io.iconator.commons.mailservice.config.MailServiceConfigHolder; import io.iconator.commons.model.CurrencyType; import io.iconator.commons.model.db.Investor; @@ -31,20 +29,14 @@ public class MailContentBuilder { private final static Logger LOG = LoggerFactory.getLogger(MailContentBuilder.class); private final TemplateEngine templateEngine; - private final BitcoinAddressService bitcoinAddressService; - private final EthereumAddressService ethereumAddressService; private final MailServiceConfigHolder mailServiceConfigHolder; private static ByteArrayResource logoContentData; @Autowired public MailContentBuilder(TemplateEngine templateEngine, - BitcoinAddressService bitcoinAddressService, - EthereumAddressService ethereumAddressService, MailServiceConfigHolder mailServiceConfigHolder) { this.templateEngine = templateEngine; - this.bitcoinAddressService = bitcoinAddressService; - this.ethereumAddressService = ethereumAddressService; this.mailServiceConfigHolder = mailServiceConfigHolder; }