Skip to content

Commit deaab8a

Browse files
author
George Nyakundi
committed
Rename method to a shorter precise name
1 parent d69323a commit deaab8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boat-scaffold/src/main/java/org/openapitools/codegen/languages/BoatSwift5Codegen.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private void fixFreeFormObject(List<CodegenProperty> codegenProperties) {
146146
}
147147
}
148148

149-
if ( hasNestedStringAnyDictionaryDataTypeFromNestedAdditionalProperties(codegenProperty)) {
149+
if ( hasNestedStringAnyDictionary(codegenProperty)) {
150150
codegenProperty.isFreeFormObject = true;
151151
codegenProperty.setDataType(STRING_ANY_DICTIONARY);
152152
codegenProperty.setDatatypeWithEnum(STRING_ANY_DICTIONARY);
@@ -229,7 +229,7 @@ private boolean hasNestedAdditionalProperties(CodegenProperty codegenProperty) {
229229
&& !codegenProperty.getAdditionalProperties().isArray;
230230
}
231231

232-
private boolean hasNestedStringAnyDictionaryDataTypeFromNestedAdditionalProperties(CodegenProperty codegenProperty) {
232+
private boolean hasNestedStringAnyDictionary(CodegenProperty codegenProperty) {
233233
return hasNestedAdditionalProperties(codegenProperty) && codegenProperty.getDataType().equals(NESTED_STRING_ANY_DICTIONARY);
234234
}
235235

0 commit comments

Comments
 (0)