[csharp] Use default rather than null in ctor (#4145)

This commit is contained in:
Jim Schubert
2017-01-03 05:31:26 -05:00
committed by wing328
parent c94e18abd8
commit cb9a1b3b53
2 changed files with 3 additions and 3 deletions

View File

@@ -2242,7 +2242,7 @@ public class DefaultCodegen {
p.jsonSchema = Json.pretty(param);
if (System.getProperty("debugParser") != null) {
LOGGER.info("working on Parameter " + param);
LOGGER.info("working on Parameter " + param.getName());
}
// move the defaultValue for headers, forms and params
@@ -2271,7 +2271,7 @@ public class DefaultCodegen {
String collectionFormat = null;
String type = qp.getType();
if (null == type) {
LOGGER.warn("Type is NULL for Serializable Parameter: " + param);
LOGGER.warn("Type is NULL for Serializable Parameter: " + param.getName());
}
if ("array".equals(type)) { // for array parameter
Property inner = qp.getItems();