Skip to content

Commit

Permalink
fix parameter position typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
portlek committed Aug 9, 2023
1 parent be7d6aa commit 554d7f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public <T> T mapTo(ClickHouseRecord r, Class<T> objClass, T obj) {
return (T) method.invoke(null, r);
} catch (IllegalAccessException | InvocationTargetException e) {
throw new IllegalArgumentException(
ClickHouseUtils.format("Failed to create instance of [%s] using [%s]", clazz.getName(), method,
e));
ClickHouseUtils.format("Failed to create instance of [%s] using [%s]", clazz.getName(), method)
e);
}
}
}
Expand Down

0 comments on commit 554d7f1

Please sign in to comment.