Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Sep 29, 2021
1 parent 4b780c0 commit 6d6ab66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public State(SortPomCfg cfg, Provisioner provisioner) throws IOException {
}

FormatterFunc createFormat() throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException {
Class<?> formatterFunc = jarState.getClassLoader().loadClass("com.diffplug.spotless.ext.pom.SortPomFormatterFunc");
Class<?> formatterFunc = jarState.getClassLoader().loadClass("com.diffplug.spotless.glue.pom.SortPomFormatterFunc");
Constructor<?> constructor = formatterFunc.getConstructor(SortPomCfg.class);
return (FormatterFunc) constructor.newInstance(cfg);
}
Expand Down

0 comments on commit 6d6ab66

Please sign in to comment.