Skip to content

Commit 862c947

Browse files
committed
Update deps
1 parent 7d33360 commit 862c947

File tree

8 files changed

+24
-27
lines changed

8 files changed

+24
-27
lines changed

build.gradle

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ plugins {
66
id 'java-library'
77
id 'checkstyle'
88
id 'jacoco'
9-
id "com.github.spotbugs" version "6.1.11"
9+
id "com.github.spotbugs" version "6.4.8"
1010
id 'com.adarshr.test-logger' version '4.0.0'
11-
id "com.github.ben-manes.versions" version "0.52.0"
12-
id 'org.sonatype.gradle.plugins.scan' version '3.1.1'
13-
id "org.sonarqube" version "6.2.0.5505"
11+
id "com.github.ben-manes.versions" version "0.53.0"
12+
id 'org.sonatype.gradle.plugins.scan' version '3.1.4'
13+
id "org.sonarqube" version "7.2.3.7755"
1414
id 'com.vanniktech.maven.publish' version '0.31.0'
1515
}
1616

@@ -33,23 +33,23 @@ repositories {
3333
}
3434

3535
dependencies {
36-
spotbugs 'com.github.spotbugs:spotbugs:4.9.3'
36+
spotbugs 'com.github.spotbugs:spotbugs:4.9.8'
3737

38-
api 'com.squareup.retrofit2:retrofit:2.11.0'
39-
api 'com.squareup.retrofit2:converter-jackson:2.11.0'
40-
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.19.1'
38+
api 'com.squareup.retrofit2:retrofit:3.0.0'
39+
api 'com.squareup.retrofit2:converter-jackson:3.0.0'
40+
api 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21.1'
4141

4242
// retrofit will not update these dependencies to fix vulnerabilities
4343
api 'com.squareup.okhttp3:okhttp:4.12.0'
44-
api 'com.squareup.okio:okio:3.11.0'
44+
api 'com.squareup.okio:okio:3.16.4'
4545

4646
testImplementation platform('org.junit:junit-bom:5.12.2')
4747
testImplementation 'org.junit.jupiter:junit-jupiter-api'
4848
testImplementation 'org.junit.jupiter:junit-jupiter-params'
4949
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
5050
testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.12.2'
5151

52-
testImplementation 'org.assertj:assertj-core:3.27.3'
52+
testImplementation 'org.assertj:assertj-core:3.27.7'
5353
testImplementation 'com.google.code.bean-matchers:bean-matchers:0.14'
5454
}
5555

@@ -157,6 +157,6 @@ mavenPublishing {
157157
}
158158

159159
wrapper {
160-
gradleVersion = '8.14'
160+
gradleVersion = '9.4.0'
161161
distributionType = Wrapper.DistributionType.ALL
162162
}

gradle/wrapper/gradle-wrapper.jar

5.08 KB
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.4.0-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/com/imsweb/seerapi/client/SeerApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ private SeerApi(String baseUrl, final String apiKey) {
9797
* Return the internal ObjectMapper
9898
* @return an Objectmapper
9999
*/
100+
@SuppressWarnings("deprecation")
100101
static ObjectMapper getMapper() {
101102
ObjectMapper mapper = new ObjectMapper();
102103

src/test/java/com/imsweb/seerapi/client/disease/DiseaseTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void testDiseaseById() throws IOException {
8989
Disease disease = _DISEASE.getById("latest", "51f6cf58e3e27c3994bd5408").execute().body();
9090

9191
assertNotNull(disease);
92-
assertEquals("Pure erythroid leukemia", disease.getName());
92+
assertEquals("Acute erythroid leukemia (AEL)", disease.getName());
9393
assertEquals(Disease.Type.HEMATO, disease.getType());
9494
assertEquals("9840/3", disease.getIcdO3Morphology());
9595
assertFalse(disease.getSamePrimaries().isEmpty());
@@ -115,7 +115,7 @@ void testDiseaseById() throws IOException {
115115
assertNull(disease.getObsoleteNewCode());
116116
assertEquals(1, disease.getAbstractorNote().size());
117117
assertEquals(2, disease.getTreatment().size());
118-
assertNull(disease.getGenetics());
118+
assertNotNull(disease.getGenetics());
119119
assertFalse(disease.getAlternateName().isEmpty());
120120
assertEquals("Acute erythemia [OBS]", disease.getAlternateName().get(0).getValue());
121121
assertTrue(disease.getIcdO2Morphology().contains("9840/3"));
@@ -138,7 +138,7 @@ void testDiseaseById() throws IOException {
138138
assertNotNull(disease.getTransformFrom());
139139
assertNull(disease.getTransformTo());
140140
assertNotNull(disease.getImmunophenotype());
141-
assertEquals("Bone marrow biopsy", disease.getDiagnosisMethod().get(0).getValue());
141+
assertEquals("Cytogenetics", disease.getDiagnosisMethod().get(0).getValue());
142142
assertEquals("See abstractor notes", disease.getModuleId().get(0).getValue());
143143
assertNull(disease.getBiomarkers());
144144
assertNull(disease.getTreatmentText());
@@ -175,8 +175,8 @@ void testDiseaseSearch() throws IOException {
175175

176176
assertNotNull(results);
177177
assertEquals(25, results.getCount().longValue());
178-
assertEquals(5, results.getTotal().longValue());
179-
assertEquals(5, results.getResults().size());
178+
assertEquals(7, results.getTotal().longValue());
179+
assertEquals(7, results.getResults().size());
180180
assertEquals(Collections.singletonList("basophilic"), results.getTerms());
181181

182182
search.setSiteCategory("BAD_VALUE");
@@ -211,8 +211,8 @@ void testDiseaseSearch() throws IOException {
211211

212212
assertNotNull(results);
213213
assertEquals(25, results.getCount().longValue());
214-
assertEquals(6, results.getTotal().longValue());
215-
assertEquals(6, results.getResults().size());
214+
assertEquals(8, results.getTotal().longValue());
215+
assertEquals(8, results.getResults().size());
216216
assertEquals(Collections.singletonList("basophilic"), results.getTerms());
217217
}
218218

src/test/java/com/imsweb/seerapi/client/ndc/NdcTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ void testNdcByCode() throws IOException {
4343
assertThat(product.getDosageFormName()).isEqualTo("CAPSULE");
4444
assertThat(product.getRouteName()).containsExactly("ORAL");
4545
assertThat(product.getStartMarketingDate()).isEqualTo("20021126");
46-
assertThat(product.getEndMarketingDate()).isNull();
46+
assertThat(product.getEndMarketingDate()).isEqualTo("20270731");
4747
assertThat(product.getMarketingCategoryName()).isEqualTo("NDA");
4848
assertThat(product.getApplicationNumber()).isEqualTo("NDA021411");
4949
assertThat(product.getLabelerName()).isEqualTo("Eli Lilly and Company");

0 commit comments

Comments
 (0)