A couple of trivial simplifications

This commit is contained in:
stsypanov
2019-05-16 22:53:01 +03:00
committed by Juergen Hoeller
parent 02850f357f
commit 6f07a504b8
4 changed files with 4 additions and 8 deletions

View File

@@ -522,8 +522,7 @@ class TypeConverterDelegate {
return original;
}
int i = 0;
for (; it.hasNext(); i++) {
for (int i = 0; it.hasNext(); i++) {
Object element = it.next();
String indexedPropertyName = buildIndexedPropertyName(propertyName, i);
Object convertedElement = convertIfNecessary(indexedPropertyName, null, element,