Skip to content

Commit e4f6686

Browse files
authored
Merge pull request #65 from irufus/63-syntax-error
63 syntax error
2 parents 030d746 + f3f6f6a commit e4f6686

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.gradle

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ apply plugin: 'application'
33

44
group = 'irufus'
55
description = 'Client for the GDAX API'
6-
version = '0.10.0'
6+
version = '0.95.15'
7+
sourceCompatibility = JavaVersion.VERSION_11
8+
targetCompatibility = JavaVersion.VERSION_11
79

810
mainClassName = "com.coinbase.exchange.api.GdaxApiApplication"
911

src/main/java/com/coinbase/exchange/api/websocketfeed/WebsocketFeed.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import com.coinbase.exchange.api.gui.orderbook.OrderBookView;
55
import com.coinbase.exchange.api.websocketfeed.message.*;
66
import com.fasterxml.jackson.core.JsonProcessingException;
7-
import com.fasterxml.jackson.core.type.TypeReference;
87
import com.fasterxml.jackson.databind.ObjectMapper;
98
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
109
import org.slf4j.Logger;
@@ -55,7 +54,7 @@ public WebsocketFeed(@Value("${websocket.baseUrl}") String websocketUrl,
5554
this.passphrase = passphrase;
5655
this.websocketUrl = websocketUrl;
5756
this.signature = signature;
58-
this.objectMapper = objectMapper(new JavaTimeModule());
57+
this.objectMapper = objectMapper.registerModule(new JavaTimeModule());
5958
}
6059

6160
public void connect() {

0 commit comments

Comments
 (0)