Skip to content
Merged
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
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
id 'com.adarshr.test-logger' version '4.0.0'
id "com.github.ben-manes.versions" version "0.52.0"
id 'org.sonatype.gradle.plugins.scan' version '3.1.1'
id "org.sonarqube" version "6.1.0.5360"
id "org.sonarqube" version "6.2.0.5505"
id 'com.vanniktech.maven.publish' version '0.31.0'
}

Expand All @@ -37,6 +37,7 @@ dependencies {

api 'com.squareup.retrofit2:retrofit:2.11.0'
api 'com.squareup.retrofit2:converter-jackson:2.11.0'
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.1'

// retrofit will not update these dependencies to fix vulnerabilities
api 'com.squareup.okhttp3:okhttp:4.12.0'
Expand Down
3 changes: 3 additions & 0 deletions src/main/java/com/imsweb/seerapi/client/SeerApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.fasterxml.jackson.annotation.PropertyAccessor;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;

import okhttp3.OkHttpClient;
import okhttp3.Request;
Expand Down Expand Up @@ -110,6 +111,8 @@ static ObjectMapper getMapper() {
DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'");
mapper.setDateFormat(dateFormat);

mapper.registerModule(new JavaTimeModule());

return mapper;
}

Expand Down
27 changes: 27 additions & 0 deletions src/main/java/com/imsweb/seerapi/client/naaccr/AllowedCode.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package com.imsweb.seerapi.client.naaccr;

public class AllowedCode {

private String code;
private String description;

public AllowedCode() {
}

public String getCode() {
return code;
}

public void setCode(String code) {
this.code = code;
}

public String getDescription() {
return description;
}

public void setDescription(String description) {
this.description = description;
}

}

This file was deleted.

This file was deleted.

Loading