forked from loafle/openapi-generator-original
suppress the cast warning in java okhttp-gson client (#20076)
This commit is contained in:
@@ -829,7 +829,7 @@ public class ApiClient {
|
||||
return params;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Formats the specified free-form query parameters to a list of {@code Pair} objects.
|
||||
*
|
||||
* @param value The free-form query parameters.
|
||||
@@ -843,6 +843,7 @@ public class ApiClient {
|
||||
return params;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
final Map<String, Object> valuesMap = (Map<String, Object>) value;
|
||||
|
||||
for (Map.Entry<String, Object> entry : valuesMap.entrySet()) {
|
||||
|
||||
Reference in New Issue
Block a user