Skip to content

Commit

Permalink
Add hasChanges to MultiChangeBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
Jugen committed Feb 3, 2022
1 parent fbdcd28 commit 24f13f8
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.isEmpty();
}
}

0 comments on commit 24f13f8

Please sign in to comment.