Fix warning in FileLoggerTree.kt
This commit is contained in:
parent
e059d737bc
commit
8567fc0105
|
@ -161,7 +161,7 @@ class FileLoggerTree : Timber.DebugTree() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getLogFileList(): Array<File> {
|
private fun getLogFileList(): Array<out File>? {
|
||||||
val directory = FileUtil.getUltrasonicDirectory()
|
val directory = FileUtil.getUltrasonicDirectory()
|
||||||
return directory.listFiles { t -> t.name.matches(fileNameRegex) }
|
return directory.listFiles { t -> t.name.matches(fileNameRegex) }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue