java - Findbug immutable date fixes do not work -
I get Maven plugin version 2.5.4, and in my code it shows me an error:
However in my code I use it:
public date getDateRlpx () {dateUtil.immutableDate (dateRlpx); } Public Zero SetderPlace (End Date RLPX) {this.dateRlpx = dateUtil.immutableDate (dateRlpx); }
and my irreversible date:
Public stable date unchanging date (last date source data) {if (sourceDate == blank) {return tap; } New date of return (sourceDate.getTime ()); }
Why findbug shows this error? I have created a new date object, I also tried a simple return
new date (dateRlpx.getTimes ()) but it was not working as well. I could not find any solution Yes, Thomas was right, there was a problem with the environment, especially the Tomato server running from IDEA IDE.
It has been stopped by Findbug in order to check the fixed source code in any way and instead it checked into a target directory or inside. So now all this work and agree with the research that the new date (date.getTime ()) is a solution :)
Comments
Post a Comment