Removed jetbrains imports
This commit is contained in:
@@ -43,7 +43,6 @@ import com.fasterxml.jackson.core.JsonProcessingException;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import org.springframework.cloud.contract.spec.Contract;
|
||||
import org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties;
|
||||
@@ -228,7 +227,6 @@ class PactStubDownloader implements StubDownloader {
|
||||
return stubConfiguration.getArtifactId();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
PactLoader pactBrokerLoader(ValueResolver resolver, List<String> tags) throws IOException {
|
||||
Resource repo = this.stubRunnerOptions.getStubRepositoryRoot();
|
||||
String schemeSpecificPart = schemeSpecificPart(repo.getURI());
|
||||
@@ -312,7 +310,6 @@ class PactStubDownloader implements StubDownloader {
|
||||
return part.startsWith("//") ? part.substring(2) : part;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
private List<String> tags(String version, ValueResolver resolver) {
|
||||
String defaultTag = StubConfiguration.DEFAULT_VERSION.equals(version) ? "latest" : version;
|
||||
return new ArrayList<>(Arrays.asList(StringUtils
|
||||
|
||||
@@ -23,7 +23,6 @@ import au.com.dius.pact.core.model.PactSource
|
||||
import au.com.dius.pact.provider.junit.loader.PactLoader
|
||||
import au.com.dius.pact.core.support.expressions.ValueResolver
|
||||
import com.github.tomakehurst.wiremock.stubbing.StubMapping
|
||||
import org.jetbrains.annotations.NotNull
|
||||
import spock.lang.Ignore
|
||||
import spock.lang.Specification
|
||||
|
||||
@@ -61,7 +60,6 @@ class PactStubDownloaderBuilderSpec extends Specification {
|
||||
.withProperties(props())
|
||||
.build()
|
||||
PactStubDownloader downloader = new PactStubDownloader(options) {
|
||||
@NotNull
|
||||
@Override
|
||||
PactLoader pactBrokerLoader(ValueResolver resolver,
|
||||
List<String> tags) {
|
||||
|
||||
@@ -30,7 +30,6 @@ import okhttp3.MediaType;
|
||||
import okhttp3.OkHttpClient;
|
||||
import okhttp3.Protocol;
|
||||
import okhttp3.RequestBody;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* {@link HttpVerifier} implementation that uses {@link OkHttpClient}. Has an inbuilt
|
||||
@@ -115,7 +114,6 @@ public class OkHttpHttpVerifier implements HttpVerifier {
|
||||
.build();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private RequestBody requestBody(Request request, String requestContentType) {
|
||||
if (request.body() == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user