Skip to content

Commit 794bb07

Browse files
scopwing328
authored andcommittedDec 10, 2017
Spelling fixes (#7142)
1 parent b4f7074 commit 794bb07

File tree

55 files changed

+218
-216
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+218
-216
lines changed
 

‎google_checkstyle.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
<message key="ws.notPreceded" value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
134134
</module>
135135
<module name="Indentation">
136-
<!-- Modified defaults for swagger-codegen (multipled Google by 2)-->
136+
<!-- Modified defaults for swagger-codegen (multiplied Google by 2)-->
137137
<property name="basicOffset" value="4"/>
138138
<property name="braceAdjustment" value="0"/>
139139
<property name="caseIndent" value="4"/>

‎modules/swagger-codegen/src/main/java/io/swagger/codegen/DefaultCodegen.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public Map<String, Object> postProcessAllModels(Map<String, Object> objs) {
191191
for (String name : allModels.keySet()) {
192192
CodegenModel cm = allModels.get(name);
193193
CodegenModel parent = allModels.get(cm.parent);
194-
// if a discriminator exists on the parent, don't add this child to the inheritance heirarchy
194+
// if a discriminator exists on the parent, don't add this child to the inheritance hierarchy
195195
// TODO Determine what to do if the parent discriminator name == the grandparent discriminator name
196196
while (parent != null) {
197197
if (parent.children == null) {

0 commit comments

Comments
 (0)
Please sign in to comment.