Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb26859

Browse files
committed
Kotlin: Suppress an unchecked cast warning
I don't think we can easily do better here.
1 parent 4e27da3 commit fb26859

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

java/kotlin-extractor/src/main/kotlin/KotlinExtractorExtension.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ class FileTrapWriter(
8787
labelMapping.put(label, id)
8888
return id
8989
} else {
90+
@Suppress("UNCHECKED_CAST")
9091
return maybeId as Label<T>
9192
}
9293
}

0 commit comments

Comments
 (0)