Skip to content

Commit

Permalink
Completly fix InstanceBuilder.create
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauriichan committed Nov 16, 2021
1 parent 7e4bbd9 commit d0f9929
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static <T> T create(final Class<T> clazz, final Object... arguments) thro
int tmpArgs = 0;
for (int index = 0; index < count; index++) {
for (int idx = 0; idx < max; idx++) {
if (!types[index].isAssignableFrom(classes[index])) {
if (!types[index].isAssignableFrom(classes[idx])) {
continue;
}
tmpIdx[idx] = index;
Expand Down

0 comments on commit d0f9929

Please sign in to comment.