forked from loafle/openapi-generator-original
remove spaces in templates
This commit is contained in:
@@ -121,7 +121,7 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
|
||||
responseCallback.onFailure(call, new IOException(throwable));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
@@ -178,9 +178,9 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
|
||||
public BufferedSource source() {
|
||||
return new Buffer().write(r.asByteArray());
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
|
||||
for (String value : entry.getValue()) {
|
||||
builder.addHeader(entry.getKey(), value);
|
||||
@@ -200,7 +200,7 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
|
||||
public void cancel() {
|
||||
throw new UnsupportedOperationException("Not supported");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public PlayWSCall clone() {
|
||||
throw new UnsupportedOperationException("Not supported");
|
||||
|
||||
@@ -146,7 +146,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
|
||||
Buffer buffer = new Buffer();
|
||||
request.body().writeTo(buffer);
|
||||
wsRequest.setBody(buffer.inputStream());
|
||||
|
||||
|
||||
MediaType mediaType = request.body().contentType();
|
||||
if (mediaType != null) {
|
||||
wsRequest.setContentType(mediaType.toString());
|
||||
@@ -175,7 +175,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
|
||||
public BufferedSource source() {
|
||||
return new Buffer().write(r.asByteArray());
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
|
||||
@@ -197,7 +197,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
|
||||
public void cancel() {
|
||||
throw new UnsupportedOperationException("Not supported");
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public PlayWSCall clone() {
|
||||
throw new UnsupportedOperationException("Not supported");
|
||||
|
||||
Reference in New Issue
Block a user