Skip to content

Commit 0ba58e4

Browse files
committed
Code format
1 parent 14c3b5a commit 0ba58e4

2 files changed

Lines changed: 10 additions & 9 deletions

File tree

src/main/java/com/adyen/Config.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
import javax.net.ssl.HostnameVerifier;
66
import javax.net.ssl.SSLContext;
77

8-
/**
9-
* Configuration for the Adyen API client (authentication credentials, environment settings,
10-
* HTTP timeout values, and Terminal API configuration, etc..).
8+
/**
9+
* Configuration for the Adyen API client (authentication credentials, environment settings, HTTP
10+
* timeout values, and Terminal API configuration, etc..).
1111
*
1212
* <p>Supports a fluent builder pattern for concise configuration:
1313
*
@@ -20,9 +20,9 @@
2020
* .readTimeoutMillis(15000);
2121
* }</pre>
2222
*
23-
* <p><b>Important:</b> Consider setting Timeout and SSL configuration.
24-
* The underlying HTTP client is created lazily on the first request and reuses the configuration
25-
* captured at that point. Changes made after the first request will not take effect.
23+
* <p><b>Important:</b> Consider setting Timeout and SSL configuration. The underlying HTTP client
24+
* is created lazily on the first request and reuses the configuration captured at that point.
25+
* Changes made after the first request will not take effect.
2626
*
2727
* @see Client
2828
* @see com.adyen.httpclient.AdyenHttpClient

src/main/java/com/adyen/httpclient/AdyenHttpClient.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
*
8383
* <p>The shared HTTP client is created from the {@link Config} provided on the first request.
8484
* Subsequent changes to {@link Config} timeout values will not affect the already-created client.
85-
* Configuration must be finalized before the first API call.
86-
**
85+
* Configuration must be finalized before the first API call. *
86+
*
8787
* @see ClientInterface
8888
* @see Config
8989
*/
@@ -377,7 +377,8 @@ private CloseableHttpClient createHttpClientWithSocketFactory(
377377
.setConnectTimeout(config.getConnectionTimeoutMillis(), TimeUnit.MILLISECONDS)
378378
// socketTimeout acts as an OS-level safety net for stalled reads;
379379
// responseTimeout (in RequestConfig) is the HTTP-level equivalent.
380-
// Both are set to readTimeoutMillis so the request is bounded regardless of which layer fires first.
380+
// Both are set to readTimeoutMillis so the request is bounded regardless of which layer
381+
// fires first.
381382
.setSocketTimeout(config.getReadTimeoutMillis(), TimeUnit.MILLISECONDS)
382383
.build();
383384
return HttpClients.custom()

0 commit comments

Comments
 (0)