refactor: use @Nonnull annotation

This commit is contained in:
Paul Robson 2022-01-06 12:14:13 -03:00
parent b785940a2b
commit 45723a0939
1 changed files with 3 additions and 3 deletions

View File

@ -4,10 +4,10 @@ import org.hl7.fhir.r4.context.SimpleWorkerContext;
import org.hl7.fhir.r4.model.Coding;
import org.hl7.fhir.r4.model.ConceptMap;
import org.hl7.fhir.r4.model.Enumerations;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import javax.annotation.Nonnull;
import java.io.IOException;
import java.util.Collections;
@ -30,7 +30,7 @@ class ConceptMapEngineTest {
assertEquals(TARGET_CODE_STRING, actual.getCode());
}
@NotNull
@Nonnull
private ConceptMapEngine getConceptMapEngine() throws IOException {
ConceptMap conceptMap = getConceptMap();
@ -40,7 +40,7 @@ class ConceptMapEngineTest {
return new ConceptMapEngine(simpleWorkerContext);
}
@NotNull
@Nonnull
private ConceptMap getConceptMap() {
ConceptMap.TargetElementComponent targetElementComponent = new ConceptMap.TargetElementComponent();
targetElementComponent.setCode(TARGET_CODE_STRING);