Solve Sonar issue in simple getter and setter methods with Date or List

I write this getter/setter to list from VS code source menu:

And a thorough description of the problem / question:Preformatted text

public void setSaveTime(final Date saveTime)
	this.saveTime = saveTime;

public Date getSaveTime()
	return saveTime;

And Sonar reporting two issues:

1.Store a copy of "saveTime". and
2. Return a copy of "saveTime"

Hey there.

If you believe you’re facing a false-positive, please read this post and update your topic with the required information.