Finalize [this-escape] warnings fixes in apache-httpclient (#20774)

This commit is contained in:
Iurii Ignatko 2025-03-03 06:01:08 +01:00 committed by GitHub
parent ecdd8b5442
commit af536f6205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -466,7 +466,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
* @param value The header's value
* @return API client
*/
public ApiClient addDefaultHeader(String key, String value) {
public final ApiClient addDefaultHeader(String key, String value) {
defaultHeaderMap.put(key, value);
return this;
}

View File

@ -384,7 +384,7 @@ public class ApiClient extends JavaTimeFormatter {
* @param value The header's value
* @return API client
*/
public ApiClient addDefaultHeader(String key, String value) {
public final ApiClient addDefaultHeader(String key, String value) {
defaultHeaderMap.put(key, value);
return this;
}

View File

@ -477,7 +477,7 @@ public class ApiClient extends JavaTimeFormatter {
* @param value The header's value
* @return API client
*/
public ApiClient addDefaultHeader(String key, String value) {
public final ApiClient addDefaultHeader(String key, String value) {
defaultHeaderMap.put(key, value);
return this;
}