File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/src/main/java/com/diffplug/spotless/kotlin Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -143,12 +143,12 @@ FormatterFunc createFormat() throws Exception {
143
143
if (useParams ) {
144
144
//
145
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.
146
+ // instance of the Params class with our configuration and invoke it here.
147
147
//
148
148
149
149
// grab the Params class
150
150
Class <?> paramsClass = classLoader .loadClass (pkg + ".ktlint.core.KtLint$Params" );
151
- // and its format method
151
+ // and its constructor
152
152
Constructor <?> constructor = paramsClass .getConstructor (
153
153
/* fileName, nullable */ String .class ,
154
154
/* text */ String .class ,
You can’t perform that action at this time.
0 commit comments