I run findbugs against all of my code and only tackle the top stuff. I finally got the top stuff resolved and now am looking at the details. I have a simple entity, say a us
Adding to the good answer of Matt Solnit, I've faced the same problem when setting a attribute, so I did the same:
public void setDataEmissaoNota (Date dataEmissaoNota) { this.dataEmissaoNota = new Date(dataEmissaoNota.getTime()); }
Work's fine!