File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
lib/src/main/kotlin/at/bitfire/synctools/icalendar/validation Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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 /* *
You can’t perform that action at this time.
0 commit comments