Skip to content

Commit c1acb29

Browse files
committed
KDoc
1 parent 08a1d6b commit c1acb29

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/src/main/kotlin/at/bitfire/synctools/icalendar/validation/ICalPreprocessor.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ class ICalPreprocessor {
4444
)
4545

4646
/**
47-
* Applies [streamPreprocessors] to some given [lines] by calling `fixString()` repeatedly on each of them.
48-
* @param lines original iCalendar object as string. This may not contain the full iCalendar,
49-
* but only a part of it.
50-
* @return The repaired iCalendar object as string.
47+
* Applies [streamPreprocessors] to a given iCalendar [line].
48+
*
49+
* @param line original line (taken from an iCalendar)
50+
* @return the potentially repaired iCalendar line
5151
*/
5252
@VisibleForTesting
53-
fun applyPreprocessors(lines: String): String {
54-
var newString = lines
53+
fun applyPreprocessors(line: String): String {
54+
var newLine = line
5555
for (preprocessor in streamPreprocessors)
56-
newString = preprocessor.repairLine(newString)
57-
return newString
56+
newLine = preprocessor.repairLine(newLine)
57+
return newLine
5858
}
5959

6060
/**

0 commit comments

Comments
 (0)