mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
removing jetbrains annotations
This commit is contained in:
parent
ac8f2b6ba9
commit
444c8951c6
@ -2,8 +2,8 @@ package org.hl7.fhir.r4.utils.client.network;
|
||||
|
||||
import okhttp3.*;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -22,9 +22,8 @@ public class FhirLoggingInterceptor implements Interceptor {
|
||||
return this;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Response intercept(@NotNull Interceptor.Chain chain) throws IOException {
|
||||
public Response intercept(@Nonnull Interceptor.Chain chain) throws IOException {
|
||||
// Log Request
|
||||
Request request = chain.request();
|
||||
logger.logRequest(request.method(), request.url().toString(), new ArrayList<>(request.headers().names()),
|
||||
|
@ -2,8 +2,8 @@ package org.hl7.fhir.r5.utils.client.network;
|
||||
|
||||
import okhttp3.*;
|
||||
import org.hl7.fhir.utilities.ToolingClientLogger;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -22,9 +22,8 @@ public class FhirLoggingInterceptor implements Interceptor {
|
||||
return this;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public Response intercept(@NotNull Interceptor.Chain chain) throws IOException {
|
||||
public Response intercept(@Nonnull Interceptor.Chain chain) throws IOException {
|
||||
// Log Request
|
||||
Request request = chain.request();
|
||||
logger.logRequest(request.method(), request.url().toString(), new ArrayList<>(request.headers().names()),
|
||||
|
@ -6,7 +6,6 @@ import okhttp3.internal.http2.Header;
|
||||
import org.hl7.fhir.r5.model.*;
|
||||
import org.hl7.fhir.r5.utils.client.network.Client;
|
||||
import org.hl7.fhir.r5.utils.client.network.ResourceRequest;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@ -96,7 +95,6 @@ class FHIRToolingClientTest {
|
||||
return bundle;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private Patient generatePatient() {
|
||||
// Create a patient object
|
||||
Patient patient = new Patient();
|
||||
@ -115,7 +113,6 @@ class FHIRToolingClientTest {
|
||||
return patient;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private Observation generateObservation() {
|
||||
// Create an observation object
|
||||
Observation observation = new Observation();
|
||||
|
Loading…
x
Reference in New Issue
Block a user