Skip to content

Commit

Permalink
Address Detekt warning
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhenii-nadtochii committed Oct 11, 2024
1 parent 55e411b commit f567ca3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ public class AddComparator(
when {
hasCompareByOption -> {
check(fromRegistry == null) {
"The field `${path.joined}` must either implement `Comparable` OR have a `Comparator` " +
"registered in the `ComparatorRegistry`, but not both simultaneously."
"The field `${path.joined}` must either implement `Comparable` OR have " +
"a `Comparator` registered in the `ComparatorRegistry`, " +
"but not both simultaneously."
}
comparingBy(path)
}
Expand Down

0 comments on commit f567ca3

Please sign in to comment.