Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: All
Platform: PC
-
6125
Description
If populate method has indexed setter even when not attached propertyname
[index] to name, it will use indexed property.
If propertyname[index] is not attached to name, I think that I should not use
indexed property.
I think that I should make it as follows.
--------------------------------------
if (descriptor instanceof IndexedPropertyDescriptor)
setter = ((IndexedPropertyDescriptor) descriptor).
getIndexedWriteMethod();
--------------------------------------
to
--------------------------------------
if (descriptor instanceof IndexedPropertyDescriptor) &&
name.indexOf(PropertyUtils.INDEXED_DELIM) > 0)
setter = ((IndexedPropertyDescriptor) descriptor).
getIndexedWriteMethod();
---------------------------------------