FindBugs

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

get方法中:

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

 set方法中:

this.joinDate = (Date) joinDate.clone();
this.enterTime = (Date) enterTime.clone();
原文地址:https://www.cnblogs.com/cn9826/p/13475589.html