Skip to content

Commit 65c867e

Browse files
committed
[Build] Use defaults in constructor
1 parent 2c9c6df commit 65c867e

File tree

1 file changed

+3
-3
lines changed
  • src/main/kotlin/com/github/schaka/janitorr/cleanup

1 file changed

+3
-3
lines changed

src/main/kotlin/com/github/schaka/janitorr/cleanup/RunOnce.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import kotlin.system.exitProcess
99
@Component
1010
class RunOnce(
1111
val applicationProperties: ApplicationProperties,
12-
var hasMediaCleanupRun: Boolean,
13-
var hasTagBasedCleanupRun: Boolean,
14-
var hasWeeklyEpisodeCleanupRun: Boolean
12+
var hasMediaCleanupRun: Boolean = false,
13+
var hasTagBasedCleanupRun: Boolean = false,
14+
var hasWeeklyEpisodeCleanupRun: Boolean = false
1515
) {
1616

1717
companion object {

0 commit comments

Comments
 (0)