Skip to content

Commit faf674d

Browse files
committed
Fixed warnings
1 parent e25b12c commit faf674d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/com/imsweb/seerapi/client/naaccr/NaaccrTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
import static org.assertj.core.api.Assertions.assertThat;
1515

16-
1716
public class NaaccrTest {
1817

1918
private static NaaccrService _NAACCR;
@@ -41,7 +40,7 @@ public void testNaaccrVersions() throws IOException {
4140
public void testNaaccrFieldNames() throws IOException {
4241
List<NaaccrFieldName> names = _NAACCR.fieldNames("latest").execute().body();
4342

44-
assertThat(names).isNotEmpty();
43+
assertThat(names).isNotNull();
4544
for (NaaccrFieldName name : names) {
4645
assertThat(name.getItem()).isGreaterThan(0);
4746
assertThat(name.getName()).isNotEmpty();
@@ -74,6 +73,7 @@ public void testNaaccrField() throws IOException {
7473

7574
// test one with default value
7675
NaaccrField recordID = _NAACCR.field("18", 10).execute().body();
76+
assertThat(recordID).isNotNull();
7777
assertThat(recordID.getName()).isEqualTo("Record Type");
7878
assertThat(recordID.getSection()).isEqualTo("Record ID");
7979
assertThat(recordID.getDefaultValue()).isEqualTo("A");

0 commit comments

Comments
 (0)