mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-06 03:06:17 +00:00
Fix unchecked conversion (#10246)
* Fix unchecked conversion Update restttemplate and webclient templates to use <>-operator. Also update samples. * Update samples
This commit is contained in:
@@ -620,7 +620,7 @@ public class ApiClient extends JavaTimeFormatter {
|
||||
final UriComponentsBuilder builder = UriComponentsBuilder.fromHttpUrl(basePath).path(path);
|
||||
|
||||
String finalUri = builder.build(false).toUriString();
|
||||
Map<String, Object> uriParams = new HashMap();
|
||||
Map<String, Object> uriParams = new HashMap<>();
|
||||
uriParams.putAll(pathParams);
|
||||
|
||||
if (queryParams != null && !queryParams.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user