Fix using method removed from 193 in old J2K
This commit is contained in:
@@ -176,7 +176,7 @@ class DefaultStatementConverter : JavaElementVisitor(), StatementConverter {
|
|||||||
|
|
||||||
val resourceList = tryStatement.resourceList
|
val resourceList = tryStatement.resourceList
|
||||||
if (resourceList != null) {
|
if (resourceList != null) {
|
||||||
val variables = resourceList.resourceVariables
|
val variables = resourceList.filterIsInstance<PsiResourceVariable>()
|
||||||
if (variables.isNotEmpty()) {
|
if (variables.isNotEmpty()) {
|
||||||
result = convertTryWithResources(tryBlock, variables, catchesConverted, finallyConverted)
|
result = convertTryWithResources(tryBlock, variables, catchesConverted, finallyConverted)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user