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
3 changed files with 3 additions and 3 deletions

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;
}