Skip to content

Commit 7832883

Browse files
committed
Clean a couple comments and formatting
1 parent ce495c3 commit 7832883

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/java/com/diffplug/spotless/kotlin/KtLintStep.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ FormatterFunc createFormat() throws Exception {
143143
if (useParams) {
144144
//
145145
// 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.
147147
//
148148

149149
// grab the Params class
150150
Class<?> paramsClass = classLoader.loadClass(pkg + ".ktlint.core.KtLint$Params");
151-
// and its format method
151+
// and its constructor
152152
Constructor<?> constructor = paramsClass.getConstructor(
153153
/* fileName, nullable */ String.class,
154154
/* text */ String.class,

0 commit comments

Comments
 (0)