Minor: add explicit MutableMap type annotation to workaround KTIJ-21172
This commit is contained in:
committed by
Space Team
parent
24d4f186ba
commit
93fc9097c8
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user