Remove SLF 1.7 API usage
This commit is contained in:
parent
71c28b5709
commit
a6d76cc2ca
|
@ -13,7 +13,6 @@ import java.util.List;
|
||||||
import org.hl7.fhir.instance.model.CodeType;
|
import org.hl7.fhir.instance.model.CodeType;
|
||||||
import org.hl7.fhir.instance.model.Observation;
|
import org.hl7.fhir.instance.model.Observation;
|
||||||
import org.hl7.fhir.instance.model.Observation.ObservationStatus;
|
import org.hl7.fhir.instance.model.Observation.ObservationStatus;
|
||||||
import org.hl7.fhir.instance.model.OperationOutcome.IssueSeverity;
|
|
||||||
import org.hl7.fhir.instance.model.StringType;
|
import org.hl7.fhir.instance.model.StringType;
|
||||||
import org.hl7.fhir.instance.model.ValueSet;
|
import org.hl7.fhir.instance.model.ValueSet;
|
||||||
import org.hl7.fhir.instance.model.ValueSet.ConceptDefinitionComponent;
|
import org.hl7.fhir.instance.model.ValueSet.ConceptDefinitionComponent;
|
||||||
|
@ -57,7 +56,7 @@ public class FhirInstanceValidatorTest {
|
||||||
@Override
|
@Override
|
||||||
public Boolean answer(InvocationOnMock theInvocation) throws Throwable {
|
public Boolean answer(InvocationOnMock theInvocation) throws Throwable {
|
||||||
boolean retVal = myDefaultValidationSupport.isCodeSystemSupported((String) theInvocation.getArguments()[0]);
|
boolean retVal = myDefaultValidationSupport.isCodeSystemSupported((String) theInvocation.getArguments()[0]);
|
||||||
ourLog.info("isCodeSystemSupported({}) : {}", theInvocation.getArguments()[0], retVal);
|
ourLog.info("isCodeSystemSupported({}) : {}", new Object[] { theInvocation.getArguments()[0], retVal });
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -68,8 +67,8 @@ public class FhirInstanceValidatorTest {
|
||||||
IBaseResource retVal = myDefaultValidationSupport.fetchResource(
|
IBaseResource retVal = myDefaultValidationSupport.fetchResource(
|
||||||
(FhirContext) theInvocation.getArguments()[0], (Class<IBaseResource>) theInvocation.getArguments()[1],
|
(FhirContext) theInvocation.getArguments()[0], (Class<IBaseResource>) theInvocation.getArguments()[1],
|
||||||
(String) theInvocation.getArguments()[2]);
|
(String) theInvocation.getArguments()[2]);
|
||||||
ourLog.info("fetchResource({}, {}) : {}", theInvocation.getArguments()[1], theInvocation.getArguments()[2],
|
ourLog.info("fetchResource({}, {}) : {}",
|
||||||
retVal);
|
new Object[] { theInvocation.getArguments()[1], theInvocation.getArguments()[2], retVal });
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue