Skip to content
Permalink
Browse files
Use Objects.equals().
  • Loading branch information
garydgregory committed Nov 20, 2020
1 parent 64a5f22 commit b649e6a11c02dfc046bb5d846079120c623ae2e8
Showing 1 changed file with 1 addition and 5 deletions.
@@ -100,11 +100,7 @@ public boolean equals(final Object obj) {
return false;
}
final BlankNodeImpl other = (BlankNodeImpl) obj;
if (uniqueReference == null) {
if (other.uniqueReference != null) {
return false;
}
} else if (!uniqueReference.equals(other.uniqueReference)) {
if (!Objects.equals(uniqueReference, other.uniqueReference)) {
return false;
}
return true;

0 comments on commit b649e6a

Please sign in to comment.