|
|
|
@ -88,9 +88,9 @@ abstract class PropertyDescriptorUtils { |
|
|
|
BasicPropertyDescriptor pd = pdMap.get(propertyName); |
|
|
|
BasicPropertyDescriptor pd = pdMap.get(propertyName); |
|
|
|
if (pd != null) { |
|
|
|
if (pd != null) { |
|
|
|
if (setter) { |
|
|
|
if (setter) { |
|
|
|
Method writedMethod = pd.getWriteMethod(); |
|
|
|
Method writeMethod = pd.getWriteMethod(); |
|
|
|
if (writedMethod == null || |
|
|
|
if (writeMethod == null || |
|
|
|
writedMethod.getParameterTypes()[0].isAssignableFrom(method.getParameterTypes()[0])) { |
|
|
|
writeMethod.getParameterTypes()[0].isAssignableFrom(method.getParameterTypes()[0])) { |
|
|
|
pd.setWriteMethod(method); |
|
|
|
pd.setWriteMethod(method); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
|