Skip to content

Commit

Permalink
Removed NCCR dictionary lab
Browse files Browse the repository at this point in the history
  • Loading branch information
depryf committed Oct 16, 2023
1 parent e367d8b commit 050aa85
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4,178 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,8 @@ public List<NaaccrDataItem> getDataItems(String naaccrVersion) throws IOExceptio
SearchResults results = _service.getDataItems(naaccrVersion, null).execute().body();
if (results == null)
throw new IOException("Got no results");
if (results.getResults() != null && !results.getResults().isEmpty()) {
if (results.getResults() != null && !results.getResults().isEmpty())
items.addAll(results.getResults());
}
if (results.getCount() == null)
throw new IOException("Was expecting a count in the results but didn't get it");
int count = results.getCount();
Expand Down
Loading

0 comments on commit 050aa85

Please sign in to comment.