Skip to content

Commit 920f733

Browse files
Fixed some checkstyle errors I hope?
1 parent ae2d844 commit 920f733

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

test/http-client-tests/src/main/java/software/amazon/awssdk/http/SdkHttpClientDefaultTestSuite.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444

4545
/**
4646
* A set of tests validating that the functionality implemented by a {@link SdkHttpClient}.
47-
*
47+
* <p>
4848
* This is used by an HTTP plugin implementation by extending this class and implementing the abstract methods to provide this
4949
* suite with a testable HTTP client implementation.
5050
*/
@@ -95,7 +95,7 @@ public void supportsResponseCode500() throws Exception {
9595
}
9696

9797
@Test
98-
public void validatesHttpsCertificateIssuer() throws Exception {
98+
public void validatesHttpsCertificateIssuer() {
9999
SdkHttpClient client = createSdkHttpClient();
100100

101101
SdkHttpFullRequest request = mockSdkRequest("https://localhost:" + mockServer.httpsPort(), SdkHttpMethod.POST);

test/http-client-tests/src/main/java/software/amazon/awssdk/http/SdkHttpClientTestSuite.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import com.github.tomakehurst.wiremock.matching.RequestPatternBuilder;
3535
import java.io.ByteArrayInputStream;
3636
import java.io.IOException;
37-
import java.io.InputStream;
3837
import java.net.HttpURLConnection;
3938
import java.net.URI;
4039
import java.nio.charset.StandardCharsets;
@@ -51,7 +50,7 @@
5150

5251
/**
5352
* A set of tests validating that the functionality implemented by a {@link SdkHttpClient}.
54-
*
53+
* <p>
5554
* This is used by an HTTP plugin implementation by extending this class and implementing the abstract methods to provide this
5655
* suite with a testable HTTP client implementation.
5756
*/
@@ -109,7 +108,7 @@ public void supportsResponseCode500() throws Exception {
109108
}
110109

111110
@Test
112-
public void validatesHttpsCertificateIssuer() throws Exception {
111+
public void validatesHttpsCertificateIssuer() {
113112
SdkHttpClient client = createSdkHttpClient();
114113

115114
SdkHttpFullRequest request = mockSdkRequest("https://localhost:" + mockServer.httpsPort(), SdkHttpMethod.POST);

0 commit comments

Comments
 (0)