We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce495c3 commit 7832883Copy full SHA for 7832883
lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java
@@ -143,12 +143,12 @@ FormatterFunc createFormat() throws Exception {
143
if (useParams) {
144
//
145
// In KtLint 0.34+ there is a new "format(params: Params)" function. We create an
146
- // instance of the Params class with our configuration and call it here.
+ // instance of the Params class with our configuration and invoke it here.
147
148
149
// grab the Params class
150
Class<?> paramsClass = classLoader.loadClass(pkg + ".ktlint.core.KtLint$Params");
151
- // and its format method
+ // and its constructor
152
Constructor<?> constructor = paramsClass.getConstructor(
153
/* fileName, nullable */ String.class,
154
/* text */ String.class,
0 commit comments