mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-28 19:50:49 +00:00
Finalize [this-escape] warnings fixes in apache-httpclient (#20774)
This commit is contained in:
parent
ecdd8b5442
commit
af536f6205
@ -466,7 +466,7 @@ public class ApiClient{{#jsr310}} extends JavaTimeFormatter{{/jsr310}} {
|
|||||||
* @param value The header's value
|
* @param value The header's value
|
||||||
* @return API client
|
* @return API client
|
||||||
*/
|
*/
|
||||||
public ApiClient addDefaultHeader(String key, String value) {
|
public final ApiClient addDefaultHeader(String key, String value) {
|
||||||
defaultHeaderMap.put(key, value);
|
defaultHeaderMap.put(key, value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -384,7 +384,7 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @param value The header's value
|
* @param value The header's value
|
||||||
* @return API client
|
* @return API client
|
||||||
*/
|
*/
|
||||||
public ApiClient addDefaultHeader(String key, String value) {
|
public final ApiClient addDefaultHeader(String key, String value) {
|
||||||
defaultHeaderMap.put(key, value);
|
defaultHeaderMap.put(key, value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -477,7 +477,7 @@ public class ApiClient extends JavaTimeFormatter {
|
|||||||
* @param value The header's value
|
* @param value The header's value
|
||||||
* @return API client
|
* @return API client
|
||||||
*/
|
*/
|
||||||
public ApiClient addDefaultHeader(String key, String value) {
|
public final ApiClient addDefaultHeader(String key, String value) {
|
||||||
defaultHeaderMap.put(key, value);
|
defaultHeaderMap.put(key, value);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user