update samples

This commit is contained in:
William Cheng
2022-05-11 15:39:38 +08:00
parent 1dce6f140c
commit 5867845419
2 changed files with 6 additions and 0 deletions

View File

@@ -790,6 +790,9 @@ public class ApiClient extends JavaTimeFormatter {
}
private String headersToString(HttpHeaders headers) {
if(headers == null || headers.isEmpty()) {
return "";
}
StringBuilder builder = new StringBuilder();
for (Entry<String, List<String>> entry : headers.entrySet()) {
builder.append(entry.getKey()).append("=[");

View File

@@ -777,6 +777,9 @@ public class ApiClient extends JavaTimeFormatter {
}
private String headersToString(HttpHeaders headers) {
if(headers == null || headers.isEmpty()) {
return "";
}
StringBuilder builder = new StringBuilder();
for (Entry<String, List<String>> entry : headers.entrySet()) {
builder.append(entry.getKey()).append("=[");