Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JAVA] Additional [this-escape] warnings fixes #20515

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading