Skip to content

Commit

Permalink
Finalize [this-escape] warnings fixes in apache-httpclient (#20774)
Browse files Browse the repository at this point in the history
  • Loading branch information
welandaz authored Mar 3, 2025
1 parent ecdd8b5 commit af536f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public ApiClient setTempFolderPath(String tempFolderPath) {
* @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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ public ApiClient setTempFolderPath(String tempFolderPath) {
* @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;
}
Expand Down

0 comments on commit af536f6

Please sign in to comment.