Skip to content

Commit 35426e6

Browse files
committed
replace apache4 with apache5
1 parent 02a6153 commit 35426e6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

services/cloudfront/src/test/java/software/amazon/awssdk/services/cloudfront/CloudFrontUtilitiesIntegrationTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ void getCookiesForCustomPolicy_shouldAllowQueryParametersWhenUsingWildcard(KeyTe
337337

338338
// Request the same resource with an additional query parameter - should still be allowed by the wildcard policy
339339
URI uri = URI.create(resourceUrl + "?foo=bar");
340-
SdkHttpClient client = ApacheHttpClient.create();
340+
SdkHttpClient client = Apache5HttpClient.create();
341341
HttpExecuteResponse response = client.prepareRequest(HttpExecuteRequest.builder()
342342
.request(SdkHttpRequest.builder()
343343
.uri(uri)
@@ -372,7 +372,7 @@ void getCookiesForCustomPolicy_wildCardPath(KeyTestCase testCase) throws Excepti
372372

373373
// Use the cookies to access a different file under the same wildcard path
374374
URI otherFileUri = URI.create(resourceUri + "/foo/other-file");
375-
SdkHttpClient client = ApacheHttpClient.create();
375+
SdkHttpClient client = Apache5HttpClient.create();
376376
HttpExecuteResponse response = client.prepareRequest(HttpExecuteRequest.builder()
377377
.request(SdkHttpRequest.builder()
378378
.uri(otherFileUri)
@@ -406,7 +406,7 @@ void getCookiesForCustomPolicy_wildCardPolicyResource_allowsAnyPath(KeyTestCase
406406

407407
// Use the cookies to access a completely different path - the "*" pattern should allow any path
408408
URI differentPathUri = URI.create(resourceUrl.replace("/s3ObjectKey", "/foo/other-file"));
409-
SdkHttpClient client = ApacheHttpClient.create();
409+
SdkHttpClient client = Apache5HttpClient.create();
410410
HttpExecuteResponse response = client.prepareRequest(HttpExecuteRequest.builder()
411411
.request(SdkHttpRequest.builder()
412412
.uri(differentPathUri)

0 commit comments

Comments
 (0)