Skip to content

Commit

Permalink
fix: either rootList or filterBy must be specified for BulkPurgeInput
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Sep 23, 2022
1 parent a0b9bc5 commit a834295
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ public Builder forceLock(boolean forceLock) {
}

public BulkPurgeInput build() {
assert (!this.rootList.isEmpty() || this.filterBy != null)
: "Either rootList or filterBy must be specified";
return new BulkPurgeInput(this);
}
}
Expand Down

0 comments on commit a834295

Please sign in to comment.