New J2K: Make annotation's type parameters not null
This commit is contained in:
committed by
Ilya Kirillov
parent
211405c034
commit
95efc5eecf
+1
-1
@@ -50,7 +50,7 @@ class JavaMethodToKotlinFunctionConversion(private val context: ConversionContex
|
||||
if (declaration.throwsList.isNotEmpty()) {
|
||||
it.annotations +=
|
||||
throwAnnotation(
|
||||
declaration.throwsList.map { it.type },
|
||||
declaration.throwsList.map { it.type.updateNullabilityRecursively(Nullability.NotNull) },
|
||||
context.symbolProvider
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user