FindBugs

规避FindBugs对Date/Time等的问题:

get方法中:

return (Date) schoolTime.clone();
return (Date) joinDate.clone();

 set方法中:

this.joinDate = (Date) joinDate.clone();
this.enterTime = (Date) enterTime.clone();
posted @ 2020-08-11 15:02  玖捌贰陆  阅读(96)  评论(0编辑  收藏  举报