Skip to content

Commit

Permalink
Remove unnecessary conditions in IndexComparator (#4959)
Browse files Browse the repository at this point in the history
Remove unneeded condition in IndexComparato

Signed-off-by: Ahmed Ashour <asashour@yahoo.com>
  • Loading branch information
asashour committed Oct 11, 2023
1 parent f12b1b2 commit d093b2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public boolean isSameObject(DatabaseObject databaseObject1, DatabaseObject datab
}


if ((thisIndexSize > 0) && (otherIndexSize > 0) && (thisIndexSize != otherIndexSize)) {
if (thisIndexSize != otherIndexSize) {
return false;
}

Expand Down

0 comments on commit d093b2a

Please sign in to comment.