Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aludwiko committed Nov 6, 2023
1 parent 7f1e6b5 commit 3b3f0cc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,8 @@ object ComponentCall {
throw new IllegalStateException(s"Id is missing when calling [${method.getName}] method")
} else if (ids.size != idNames.size) {
throw new IllegalStateException(
s"Expecting ${idNames.size} instead of ${ids.size} when calling [${method.getName}] method. Provide values for [${idNames.mkString(", ")}] ids.")
s"Expecting ${idNames.size} instead of ${ids.size} when calling [${method.getName}] method. Provide values for [${idNames
.mkString(", ")}] ids.")
} else if (idNames.size == 1) { //single key
Map(idNames.head -> ids.head)
} else { //compound key
Expand Down

0 comments on commit 3b3f0cc

Please sign in to comment.