Skip to content

Commit

Permalink
Fixed code styling for swagger-api#1141
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Suich committed Jul 9, 2015
1 parent c3ab99b commit 51172d8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public Map<String, Model> filterDefinitions(SwaggerSpecFilter filter, Map<String
}
}
Model clonedModel = (Model) definition.clone();
if (clonedModel.getProperties() != null) clonedModel.getProperties().clear();
if (clonedModel.getProperties() != null) {
clonedModel.getProperties().clear();
}
clonedModel.setProperties(clonedProperties);
clonedDefinitions.put(key, clonedModel);
}
Expand Down

0 comments on commit 51172d8

Please sign in to comment.