Skip to content

Commit 5605890

Browse files
committed
Remove a TODO
1 parent 5bafcc9 commit 5605890

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lsp/src/main/kotlin/org/gradle/declarative/lsp/extension/AnalysisSchemaExtensions.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,7 @@ else {
111111
val mergedResult = mutableMapOf<FqName, Map<List<DataType.ParameterizedTypeInstance.TypeArgument>, DataType.ClassDataType>>()
112112
schemas.forEach { schema ->
113113
schema.genericInstantiationsByFqName.forEach { instantiation ->
114-
mergedResult.merge(instantiation.key, instantiation.value) { oldVal, newVal ->
115-
oldVal + newVal // TODO: is this correct?
116-
}
114+
mergedResult.merge(instantiation.key, instantiation.value) { oldVal, newVal -> oldVal + newVal }
117115
}
118116
}
119117
mergedResult

0 commit comments

Comments
 (0)