Skip to content

Commit

Permalink
"Empty comparators" was Expected etc change
Browse files Browse the repository at this point in the history
  • Loading branch information
mP1 committed Mar 3, 2025
1 parent d48008c commit 586853d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ private static List<SpreadsheetComparatorNameAndDirection> checkComparatorNameAn
Objects.requireNonNull(comparatorNameAndDirections, "comparatorNameAndDirections")
);
if (comparatorNameAndDirections.isEmpty()) {
throw new IllegalArgumentException("Expected at least 1 comparator got none");
throw new IllegalArgumentException("Empty comparators");
}
return copy;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public static SpreadsheetColumnOrRowSpreadsheetComparators with(final Spreadshee
private SpreadsheetColumnOrRowSpreadsheetComparators(final SpreadsheetColumnOrRowReference columnOrRow,
final List<SpreadsheetComparator<?>> comparators) {
if (comparators.isEmpty()) {
throw new IllegalArgumentException("Expected at least 1 comparator got none");
throw new IllegalArgumentException("Empty comparators");
}

this.columnOrRow = columnOrRow;
Expand Down

0 comments on commit 586853d

Please sign in to comment.