mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix coder
This commit is contained in:
@@ -226,8 +226,8 @@ public class PropDesc {
|
||||
*/
|
||||
public PropDesc setValue(final Object bean, final Object value) {
|
||||
if (null != this.setter) {
|
||||
//MethodUtil.invoke(bean, this.setter, value);
|
||||
LambdaUtil.buildSetter(this.setter).accept(bean, value);
|
||||
MethodUtil.invoke(bean, this.setter, value);
|
||||
//LambdaUtil.buildSetter(this.setter).accept(bean, value);
|
||||
} else if (ModifierUtil.isPublic(this.field)) {
|
||||
FieldUtil.setFieldValue(bean, this.field, value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user