Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static <T extends BaseModel<T>> OrderByComparator<T> create(

if ((columns.length == 0) || ((columns.length % 2) != 0)) {
throw new IllegalArgumentException(
"Columns length is not an even number");
"Columns length is zero or not an even number");
}

return new DefaultOrderByComparator<>(tableName, columns);
Expand Down Expand Up @@ -201,4 +201,4 @@ private DefaultOrderByComparator(String tableName, Object... columns) {
private static final Log _log = LogFactoryUtil.getLog(
OrderByComparatorFactoryUtil.class);

}
}