Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Downgrade XChange since we need to use Java 6
Browse files Browse the repository at this point in the history
  • Loading branch information
langerhans committed Jan 30, 2016
1 parent 5e6cbab commit 7862a93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@
<bitcoinj.version>0.10.3-MB-ALICE</bitcoinj.version>

<!-- Version of XChange to use (multiple uses) -->
<xchange.version>3.1.0</xchange.version>
<xchange.version>3.0.0</xchange.version>

<!-- Version of spongycastle to use -->
<sc-light-jdk15on.version>1.47.0.2</sc-light-jdk15on.version>
Expand Down
9 changes: 1 addition & 8 deletions src/main/java/org/multibit/exchange/TickerTimerTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -241,21 +241,14 @@ public void createExchangeObjects(String newExchangeName) {
Exchange exchangeDOGE = ExchangeFactory.INSTANCE.createExchange(PoloniexExchange.class.getName());

if (exchange != null) {
try {
exchange.remoteInit();
exchangeDOGE.remoteInit();
} catch (IOException e) {
log.error("Could not contact exchanges for init!");
return;
}

// Interested in the public market data feed (no authentication).
marketDataServiceBTC = exchange.getPollingMarketDataService();
marketDataServiceDOGE = exchangeDOGE.getPollingMarketDataService();
log.debug("marketDataServiceBTC = " + marketDataServiceBTC);

// Get the list of available currencies.
exchangeSymbols = new ArrayList<CurrencyPair>(exchange.getMetaData().getMarketMetaDataMap().keySet());
exchangeSymbols = exchange.getMetaData().getCurrencyPairs();
log.debug("exchangeSymbols = " + exchangeSymbols);

if (exchangeSymbols != null) {
Expand Down

0 comments on commit 7862a93

Please sign in to comment.