Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Using jackson 2.10.0 #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,19 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.2.3</version>
<version>2.10.0</version>
</dependency>
<!-- Jackson 2.x Annotations -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.2.3</version>
<version>2.10.0</version>
</dependency>
<!-- Jackson 2.x Databind -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.2.3</version>
<version>2.10.0</version>
</dependency>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ protected BaseMandrillResponse convertResponseData(String response, Object respo
return objectMapper.readValue(response, (Class<BaseMandrillResponse>) responseClass);
}

protected BaseMandrillResponse convertAnonymousListResponseData(String json, Object responseClass, TypeReference reference) throws JsonParseException, JsonMappingException,
protected BaseMandrillResponse convertAnonymousListResponseData(String json, Object responseClass, TypeReference<List<BaseMandrillResponse>> reference) throws JsonParseException, JsonMappingException,
IOException {
BaseMandrillAnonymousListResponse<BaseMandrillResponse> response = new BaseMandrillAnonymousListResponse<BaseMandrillResponse>();
List<BaseMandrillResponse> objectList = objectMapper.readValue(json, reference);
Expand Down