Fix using method removed from 193 in old J2K

This commit is contained in:
Ilya Kirillov
2019-11-07 11:51:51 +03:00
parent 39db76b2ab
commit 7fffd3d0f2
@@ -176,7 +176,7 @@ class DefaultStatementConverter : JavaElementVisitor(), StatementConverter {
val resourceList = tryStatement.resourceList
if (resourceList != null) {
val variables = resourceList.resourceVariables
val variables = resourceList.filterIsInstance<PsiResourceVariable>()
if (variables.isNotEmpty()) {
result = convertTryWithResources(tryBlock, variables, catchesConverted, finallyConverted)
return