Skip to content

Commit 7887e74

Browse files
committed
Dependency updates
1 parent fbe7ca7 commit 7887e74

5 files changed

Lines changed: 17 additions & 11 deletions

File tree

build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ import org.gradle.internal.jvm.Jvm
33
plugins {
44
id 'java'
55
id 'checkstyle'
6+
id "net.ltgt.errorprone" version "0.8.1"
67
id "com.github.spotbugs" version "1.6.10"
78
id 'com.bmuschko.nexus' version '2.3.1'
89
id "io.codearte.nexus-staging" version "0.20.0"
9-
id 'com.adarshr.test-logger' version '1.6.0'
10+
id 'com.adarshr.test-logger' version '1.7.0'
1011
}
1112

1213
group = 'com.imsweb'
@@ -30,8 +31,10 @@ repositories {
3031
}
3132

3233
dependencies {
33-
compile 'com.squareup.retrofit2:retrofit:2.5.0'
34-
compile 'com.squareup.retrofit2:converter-jackson:2.5.0'
34+
errorprone 'com.google.errorprone:error_prone_core:2.3.3'
35+
36+
compile 'com.squareup.retrofit2:retrofit:2.6.1'
37+
compile 'com.squareup.retrofit2:converter-jackson:2.6.1'
3538

3639
testCompile 'junit:junit:4.11'
3740
testCompile 'org.assertj:assertj-core:3.11.1'
@@ -59,6 +62,7 @@ testlogger {
5962
}
6063

6164
checkstyle {
65+
toolVersion '8.23'
6266
configFile = file("config/checkstyle/checkstyle.xml")
6367
}
6468

src/main/java/com/imsweb/seerapi/client/staging/SchemaLookup.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,10 @@ public boolean hasDiscriminator() {
137137

138138
@Override
139139
public boolean equals(Object o) {
140-
if (this == o) return true;
141-
if (o == null || getClass() != o.getClass()) return false;
140+
if (this == o)
141+
return true;
142+
if (!(o instanceof SchemaLookup))
143+
return false;
142144

143145
SchemaLookup lookup = (SchemaLookup)o;
144146

src/main/java/com/imsweb/seerapi/client/staging/cs/CsStagingData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public enum CsInput {
6060
SSF24("ssf24"),
6161
SSF25("ssf25");
6262

63-
private String _name;
63+
private final String _name;
6464

6565
CsInput(String name) {
6666
_name = name;
@@ -116,7 +116,7 @@ public enum CsOutput {
116116
STOR_SS1977_STAGE("stor_ss77"),
117117
STOR_SS2000_STAGE("stor_ss2000");
118118

119-
private String _name;
119+
private final String _name;
120120

121121
CsOutput(String name) {
122122
_name = name;

src/main/java/com/imsweb/seerapi/client/staging/eod/EodStagingData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public enum EodInput {
119119
SYSTEMIC_SURG_SEQ("systemic_surg_seq"),
120120
SS_2018("ss2018");
121121

122-
private String _name;
122+
private final String _name;
123123

124124
EodInput(String name) {
125125
_name = name;
@@ -142,7 +142,7 @@ public enum EodOutput {
142142
EOD_2018_STAGE_GROUP("eod_2018_stage_group"),
143143
SS_2018_DERIVED("ss2018_derived");
144144

145-
private String _name;
145+
private final String _name;
146146

147147
EodOutput(String name) {
148148
_name = name;

src/main/java/com/imsweb/seerapi/client/staging/tnm/TnmStagingData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public enum TnmInput {
6060
SSF24("ssf24"),
6161
SSF25("ssf25");
6262

63-
private String _name;
63+
private final String _name;
6464

6565
TnmInput(String name) {
6666
_name = name;
@@ -85,7 +85,7 @@ public enum TnmOutput {
8585
SOURCE_M("source_m"),
8686
COMBINED_M("combined_m");
8787

88-
private String _name;
88+
private final String _name;
8989

9090
TnmOutput(String name) {
9191
_name = name;

0 commit comments

Comments
 (0)