Skip to content

Commit 08a1d6b

Browse files
committed
Make some fields internal
1 parent 68187c4 commit 08a1d6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import androidx.annotation.VisibleForTesting
1515
class FixInvalidDayOffsetPreprocessor : StreamPreprocessor {
1616

1717
@VisibleForTesting
18-
val regexpForProblem = Regex(
18+
internal val regexpForProblem = Regex(
1919
// Examples:
2020
// TRIGGER:-P2DT
2121
// TRIGGER:-PT2D

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class FixInvalidUtcOffsetPreprocessor: StreamPreprocessor {
2323
get() = Logger.getLogger(javaClass.name)
2424

2525
@VisibleForTesting
26-
val regexpForProblem = Regex("^(TZOFFSET(FROM|TO):[+\\-]?)((18|19|[2-6]\\d)\\d\\d)$",
26+
internal val regexpForProblem = Regex("^(TZOFFSET(FROM|TO):[+\\-]?)((18|19|[2-6]\\d)\\d\\d)$",
2727
setOf(RegexOption.MULTILINE, RegexOption.IGNORE_CASE))
2828

2929
override fun repairLine(line: String) =

0 commit comments

Comments
 (0)