Skip to content

Commit

Permalink
Return immutable list from checkForUpdates
Browse files Browse the repository at this point in the history
  • Loading branch information
latiif committed Dec 25, 2020
1 parent 29a6979 commit f9c09ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/core/HotCornClient.kt
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class HotCornClient(val write: (Any?) -> Unit = ::println) {
write(episodeInfo.toString())
}

public fun checkForUpdates(lastCheck: Long, epsilon: Int, shows: List<String>, multipleEpisodes: Boolean = true, includeAll: Boolean = false, getLatest: Boolean = false): MutableList<String> {
fun checkForUpdates(lastCheck: Long, epsilon: Int, shows: List<String>, multipleEpisodes: Boolean = true, includeAll: Boolean = false, getLatest: Boolean = false): List<String> {
val result = mutableListOf<String>()

shows.forEach {
Expand Down

0 comments on commit f9c09ed

Please sign in to comment.