Minor: add explicit MutableMap type annotation to workaround KTIJ-21172

This commit is contained in:
Pavel Kirpichenkov
2023-02-23 15:51:35 +02:00
committed by Space Team
parent 24d4f186ba
commit 93fc9097c8
@@ -562,7 +562,7 @@ internal class PropertiesProvider private constructor(private val project: Proje
}
private fun propertiesWithPrefix(prefix: String): Map<String, String> {
val result = mutableMapOf<String, String>()
val result: MutableMap<String, String> = mutableMapOf()
project.properties.forEach { (name, value) ->
if (name.startsWith(prefix) && value is String) {
result.put(name, value)