Skip to content

Commit b8183fb

Browse files
committed
remove spaces in templates
1 parent f623aa1 commit b8183fb

4 files changed

Lines changed: 14 additions & 14 deletions

File tree

modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/play24/Play24CallFactory.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
121121
responseCallback.onFailure(call, new IOException(throwable));
122122
}
123123
}
124-
124+
125125
});
126126

127127
}
@@ -178,9 +178,9 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
178178
public BufferedSource source() {
179179
return new Buffer().write(r.asByteArray());
180180
}
181-
181+
182182
});
183-
183+
184184
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
185185
for (String value : entry.getValue()) {
186186
builder.addHeader(entry.getKey(), value);
@@ -200,7 +200,7 @@ public class Play24CallFactory implements okhttp3.Call.Factory {
200200
public void cancel() {
201201
throw new UnsupportedOperationException("Not supported");
202202
}
203-
203+
204204
@Override
205205
public PlayWSCall clone() {
206206
throw new UnsupportedOperationException("Not supported");

modules/swagger-codegen/src/main/resources/Java/libraries/retrofit2/play25/Play25CallFactory.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
146146
Buffer buffer = new Buffer();
147147
request.body().writeTo(buffer);
148148
wsRequest.setBody(buffer.inputStream());
149-
149+
150150
MediaType mediaType = request.body().contentType();
151151
if (mediaType != null) {
152152
wsRequest.setContentType(mediaType.toString());
@@ -175,7 +175,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
175175
public BufferedSource source() {
176176
return new Buffer().write(r.asByteArray());
177177
}
178-
178+
179179
});
180180

181181
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
@@ -197,7 +197,7 @@ public class Play25CallFactory implements okhttp3.Call.Factory {
197197
public void cancel() {
198198
throw new UnsupportedOperationException("Not supported");
199199
}
200-
200+
201201
@Override
202202
public PlayWSCall clone() {
203203
throw new UnsupportedOperationException("Not supported");

samples/client/petstore/java/retrofit2-play24/src/main/java/io/swagger/client/Play24CallFactory.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void invoke(Throwable throwable) throws Throwable {
121121
responseCallback.onFailure(call, new IOException(throwable));
122122
}
123123
}
124-
124+
125125
});
126126

127127
}
@@ -178,9 +178,9 @@ public long contentLength() {
178178
public BufferedSource source() {
179179
return new Buffer().write(r.asByteArray());
180180
}
181-
181+
182182
});
183-
183+
184184
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
185185
for (String value : entry.getValue()) {
186186
builder.addHeader(entry.getKey(), value);
@@ -200,7 +200,7 @@ public Response execute() throws IOException {
200200
public void cancel() {
201201
throw new UnsupportedOperationException("Not supported");
202202
}
203-
203+
204204
@Override
205205
public PlayWSCall clone() {
206206
throw new UnsupportedOperationException("Not supported");

samples/client/petstore/java/retrofit2-play25/src/main/java/io/swagger/client/Play25CallFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void addBody(WSRequest wsRequest) throws IOException {
146146
Buffer buffer = new Buffer();
147147
request.body().writeTo(buffer);
148148
wsRequest.setBody(buffer.inputStream());
149-
149+
150150
MediaType mediaType = request.body().contentType();
151151
if (mediaType != null) {
152152
wsRequest.setContentType(mediaType.toString());
@@ -175,7 +175,7 @@ public long contentLength() {
175175
public BufferedSource source() {
176176
return new Buffer().write(r.asByteArray());
177177
}
178-
178+
179179
});
180180

181181
for (Map.Entry<String, List<String>> entry : r.getAllHeaders().entrySet()) {
@@ -197,7 +197,7 @@ public Response execute() throws IOException {
197197
public void cancel() {
198198
throw new UnsupportedOperationException("Not supported");
199199
}
200-
200+
201201
@Override
202202
public PlayWSCall clone() {
203203
throw new UnsupportedOperationException("Not supported");

0 commit comments

Comments
 (0)