simplifying diff

This commit is contained in:
russellb337 2015-05-07 12:16:44 -07:00
parent 2edfb96c36
commit 2eeb96116d

View File

@ -693,12 +693,10 @@ public class DefaultCodegen {
Map<String, String> mediaType = new HashMap<String, String>();
mediaType.put("mediaType", key);
count += 1;
if (count < operation.getConsumes().size()) {
if (count < operation.getConsumes().size())
mediaType.put("hasMore", "true");
}
else {
else
mediaType.put("hasMore", null);
}
c.add(mediaType);
}
op.consumes = c;