Skip to content

Commit 05fd13f

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit 14190d7. [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 14190d7 commit 05fd13f

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/ApiClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ public boolean isDebugging() {
106106

107107
/**
108108
* Set the log level of the requester
109+
*
109110
* @return ApiClient
110111
*/
111112
public ApiClient setLogLevel(LogLevel level) {

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/utils/HttpRequester.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public HttpRequester() {
3030
this.loggingInterceptor = new HttpLoggingInterceptor();
3131
loggingInterceptor.setLevel(LogLevel.NONE.value());
3232
builder.addInterceptor(this.loggingInterceptor);
33-
33+
3434
builder.retryOnConnectionFailure(false);
3535

3636
httpClient = builder.build();

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/utils/LogLevel.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,16 @@
33
import okhttp3.logging.HttpLoggingInterceptor.Level;
44

55
public enum LogLevel {
6-
/**
7-
* No logs.
8-
*/
6+
/** No logs. */
97
NONE(Level.NONE),
108

11-
/**
12-
* Logs request and response lines and their respective headers.
13-
*/
9+
/** Logs request and response lines and their respective headers. */
1410
HEADERS(Level.HEADERS),
1511

16-
/**
17-
* Logs request and response lines and their respective headers and bodies (if present).
18-
*/
12+
/** Logs request and response lines and their respective headers and bodies (if present). */
1913
BODY(Level.BODY),
2014

21-
/**
22-
* Logs request and response lines.
23-
*/
15+
/** Logs request and response lines. */
2416
BASIC(Level.BASIC);
2517

2618
private Level value;

0 commit comments

Comments
 (0)