title: Does the FindBugs EI_EXPOSE_REP bug only concern Date?
body: <p>Findbugs reports a lot of EI_EXPOSE_REP and EI_EXPOSE_REP2 bugs on my code, each time I write getters and setters like this:</p>
  
  <pre><code>  public Date getDate() {
      return date;
    }
    public void setDate(final Date date) {
      this.date = date;
    }
  </code></pre>
  
  <p>I understand the meaning of the report, I should not expose the internal references of my objet to the outside world so that they can not be modified by a malicious/erronous code. A fix would be:</p>
  
  <pre><code>  public Date getDate() {
      return date == null ? null : date.clone();
    }
    public void setDate(Date date) {
      this.date = date == null ? null : date.clone();
    }
  </code></pre>
  
  <p>My question is not here. I am surprised that this report concerns ALWAYS Date. Why not all other mutable objects? I think this report goes for all mutable objects too, doesn't it ?</p>
  
  <p>Should I extend this "good practice" to all my accessors that deal with mutable objects?</p>
  
  <p>Give me your advice, thanks</p>