习惯将bean的set方法写成返回当前对象.
public Sample setName(String name){
this.name = name;
return this;
}
结果在使用commons库的bean.copyProperties, 一直复制不成功.
没空看源码, 待解决.
习惯将bean的set方法写成返回当前对象.
public Sample setName(String name){
this.name = name;
return this;
}
结果在使用commons库的bean.copyProperties, 一直复制不成功.
没空看源码, 待解决.
转载于:https://my.oschina.net/conanxke/blog/534038