I have used the commons HashCodeBuilder in many of my bean like classes. Now I want to exclude a field from the hash code but can not get the following to work. Any ideas?

This usage is in accordance with the javadocs.

---
public int hashCode()
  {
     String [] excludeFields = { "mField" };

     return HashCodeBuilder.reflectionHashCode(this, excludeFields);
  }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to