Skip to content

Commit

Permalink
Remove unnecessary extra child traversal in collectDirtyChildren
Browse files Browse the repository at this point in the history
  • Loading branch information
shlusiak committed Aug 28, 2020
1 parent 797786f commit 116cfee
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion parse/src/main/java/com/parse/ParseObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ protected boolean visit(Object node) {
if (seen.contains(object)) {
return true;
}
seen = new HashSet<>(seen);
seen.add(object);

// Recurse into this object's children looking for dirty children.
Expand Down

0 comments on commit 116cfee

Please sign in to comment.