Skip to content

Commit 1d5abd2

Browse files
disable static type checking for method
1 parent 211eecc commit 1d5abd2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

grails-databinding/src/main/groovy/org/grails/databinding/SimpleDataBinder.groovy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ class SimpleDataBinder implements DataBinder {
351351
}
352352
}
353353

354+
355+
@CompileStatic(TypeCheckingMode.SKIP)
354356
protected initializeArray(obj, String propertyName, Class arrayType, int index) {
355357
Object[] array = obj[propertyName]
356358
if (array == null && index < autoGrowCollectionLimit) {

0 commit comments

Comments
 (0)