Skip to content

Commit

Permalink
Additional [this-escape] warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz committed Jan 21, 2025
1 parent 1fa07bf commit 6d3a3c1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
* @param userAgent User agent
* @return API client
*/
public ApiClient setUserAgent(String userAgent) {
public final ApiClient setUserAgent(String userAgent) {
addDefaultHeader("User-Agent", userAgent);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ public class ApiClient {
return HttpClient.newBuilder();
}

public void updateBaseUri(String baseUri) {
public final void updateBaseUri(String baseUri) {
URI uri = URI.create(baseUri);
scheme = uri.getScheme();
host = uri.getHost();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ public ApiClient setPassword(String password) {
* @param userAgent User agent
* @return API client
*/
public ApiClient setUserAgent(String userAgent) {
public final ApiClient setUserAgent(String userAgent) {
addDefaultHeader("User-Agent", userAgent);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static HttpClient.Builder createDefaultHttpClientBuilder() {
return HttpClient.newBuilder();
}

public void updateBaseUri(String baseUri) {
public final void updateBaseUri(String baseUri) {
URI uri = URI.create(baseUri);
scheme = uri.getScheme();
host = uri.getHost();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public ApiClient setAccessToken(String accessToken) {
* @param userAgent User agent
* @return API client
*/
public ApiClient setUserAgent(String userAgent) {
public final ApiClient setUserAgent(String userAgent) {
addDefaultHeader("User-Agent", userAgent);
return this;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static HttpClient.Builder createDefaultHttpClientBuilder() {
return HttpClient.newBuilder();
}

public void updateBaseUri(String baseUri) {
public final void updateBaseUri(String baseUri) {
URI uri = URI.create(baseUri);
scheme = uri.getScheme();
host = uri.getHost();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static HttpClient.Builder createDefaultHttpClientBuilder() {
return HttpClient.newBuilder();
}

public void updateBaseUri(String baseUri) {
public final void updateBaseUri(String baseUri) {
URI uri = URI.create(baseUri);
scheme = uri.getScheme();
host = uri.getHost();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static HttpClient.Builder createDefaultHttpClientBuilder() {
return HttpClient.newBuilder();
}

public void updateBaseUri(String baseUri) {
public final void updateBaseUri(String baseUri) {
URI uri = URI.create(baseUri);
scheme = uri.getScheme();
host = uri.getHost();
Expand Down

0 comments on commit 6d3a3c1

Please sign in to comment.