Created
July 11, 2012 15:24
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new EqualsBuilder().append(obj1, obj2).isEquals() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment