Skip to content

Commit 3e31494

Browse files
author
Roshin Rajan Panackal
committed
pmd
1 parent 604ae5c commit 3e31494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datamodel/openapi/openapi-generator/src/main/java/com/sap/cloud/sdk/datamodel/openapi/generator/CustomJavaClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ private void useCreatorsForInterfaceSubtypes( @Nonnull final CodegenModel m )
307307
"Generating interface with mixed multiple non-primitive and primitive sub-types: {}. Deserialization may not work.";
308308
log.warn(msg, m.name);
309309
}
310-
var numArrayTypes = candidatesSingle.size() + candidatesMultipleND.size();
310+
final var numArrayTypes = candidatesSingle.size() + candidatesMultipleND.size();
311311
if( numArrayTypes > 1 ) {
312312
final var msg =
313313
"Field can be oneOf %d array types. Deserialization may not work as expected."

0 commit comments

Comments
 (0)