forked from loafle/openapi-generator-original
suppress the cast warning in java okhttp-gson client (#20076)
This commit is contained in:
parent
13b11d7706
commit
6ff52c7e31
@ -987,7 +987,7 @@ public class ApiClient {
|
||||
}
|
||||
{{/dynamicOperations}}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Formats the specified free-form query parameters to a list of {@code Pair} objects.
|
||||
*
|
||||
* @param value The free-form query parameters.
|
||||
@ -1001,6 +1001,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()) {
|
||||
|
@ -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()) {
|
||||
|
@ -759,7 +759,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.
|
||||
@ -773,6 +773,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()) {
|
||||
|
@ -733,7 +733,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.
|
||||
@ -747,6 +747,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()) {
|
||||
|
@ -733,7 +733,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.
|
||||
@ -747,6 +747,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()) {
|
||||
|
@ -733,7 +733,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.
|
||||
@ -747,6 +747,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()) {
|
||||
|
@ -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()) {
|
||||
|
@ -849,7 +849,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.
|
||||
@ -863,6 +863,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()) {
|
||||
|
@ -834,7 +834,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.
|
||||
@ -848,6 +848,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()) {
|
||||
|
@ -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()) {
|
||||
|
@ -832,7 +832,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.
|
||||
@ -846,6 +846,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()) {
|
||||
|
@ -835,7 +835,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.
|
||||
@ -849,6 +849,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()) {
|
||||
|
@ -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()) {
|
||||
|
@ -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()) {
|
||||
|
@ -903,7 +903,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.
|
||||
@ -917,6 +917,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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user