Skip to content

Instantly share code, notes, and snippets.

@bmchild
Created July 11, 2012 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmchild/3091112 to your computer and use it in GitHub Desktop.
Save bmchild/3091112 to your computer and use it in GitHub Desktop.
Using commons lang to see if two objects are equals without a null check
new EqualsBuilder().append(obj1, obj2).isEquals()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment