Thanks for the suggestion. I think so.
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof Expense))
return false;
Expense castOther = (Expense) other;
if (this.getId() == null)
return false;
if (castOther.getId() == null)
return false;
return castOther.getId().equals(this.getId());
}
public int hashCode() {
int result = 17;
if (getId() != null)
result = result * getId().hashCode();
return result;
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Refreshingview-vs-ListView-tp4675224p4675236.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]