Skip to content

Commit

Permalink
Add hasChanges to MultiChangeBuilder (#1084)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jugen authored Feb 9, 2022
1 parent fbdcd28 commit 23e43d9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,4 +409,8 @@ private void ensureHasChanges() {
throw new IllegalStateException("Cannot commit multiple changes since none have been added");
}
}

public boolean hasChanges() {
return list.size() > 0;
}
}

0 comments on commit 23e43d9

Please sign in to comment.