Skip to content

Commit 8c9cb67

Browse files
fix import ordering
1 parent ca03041 commit 8c9cb67

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

src/main/java/com/mindee/http/MindeeHttpApi.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@
2020
import java.util.Map;
2121
import java.util.function.Function;
2222
import lombok.Builder;
23-
import org.apache.hc.core5.http.HttpEntity;
24-
import org.apache.hc.core5.http.HttpHeaders;
25-
import org.apache.hc.core5.http.NameValuePair;
26-
import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse;
2723
import org.apache.hc.client5.http.classic.methods.HttpGet;
2824
import org.apache.hc.client5.http.classic.methods.HttpPost;
29-
import org.apache.hc.core5.net.URIBuilder;
30-
import org.apache.hc.core5.http.ContentType;
31-
import org.apache.hc.core5.http.io.entity.StringEntity;
3225
import org.apache.hc.client5.http.entity.mime.HttpMultipartMode;
3326
import org.apache.hc.client5.http.entity.mime.MultipartEntityBuilder;
3427
import org.apache.hc.client5.http.impl.classic.CloseableHttpClient;
28+
import org.apache.hc.client5.http.impl.classic.CloseableHttpResponse;
3529
import org.apache.hc.client5.http.impl.classic.HttpClientBuilder;
30+
import org.apache.hc.core5.http.ContentType;
31+
import org.apache.hc.core5.http.HttpEntity;
32+
import org.apache.hc.core5.http.HttpHeaders;
33+
import org.apache.hc.core5.http.NameValuePair;
34+
import org.apache.hc.core5.http.io.entity.StringEntity;
3635
import org.apache.hc.core5.http.message.BasicNameValuePair;
36+
import org.apache.hc.core5.net.URIBuilder;
3737

3838
/**
3939
* HTTP Client class.

src/test/java/com/mindee/http/MindeeHttpApiTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import static com.github.tomakehurst.wiremock.client.WireMock.urlEqualTo;
88
import static com.github.tomakehurst.wiremock.client.WireMock.urlMatching;
99
import static org.hamcrest.MatcherAssert.assertThat;
10+
1011
import com.fasterxml.jackson.databind.ObjectMapper;
1112
import com.github.tomakehurst.wiremock.junit.WireMockRule;
1213
import com.mindee.MindeeSettings;
@@ -27,10 +28,10 @@
2728
import okhttp3.mockwebserver.MockResponse;
2829
import okhttp3.mockwebserver.MockWebServer;
2930
import okhttp3.mockwebserver.RecordedRequest;
30-
import org.apache.hc.core5.http.HttpHost;
3131
import org.apache.hc.client5.http.impl.classic.HttpClientBuilder;
3232
import org.apache.hc.client5.http.impl.classic.HttpClients;
3333
import org.apache.hc.client5.http.impl.routing.DefaultProxyRoutePlanner;
34+
import org.apache.hc.core5.http.HttpHost;
3435
import org.hamcrest.collection.IsMapContaining;
3536
import org.junit.After;
3637
import org.junit.Assert;

0 commit comments

Comments
 (0)