[java] IDEA-372997 Remove final from final var in StructuredTaskScope creation

GitOrigin-RevId: 24af4e19231fa32af6fac5ec2df9c1e1ca8cba5f
This commit is contained in:
Bartek Pacia
2025-06-24 15:32:10 +00:00
committed by intellij-monorepo-bot
parent 8beecee162
commit 5bfc513357
+1 -1
View File
@@ -359,7 +359,7 @@
</context>
</template>
<template name="sts" value="try (final var scope = java.util.concurrent.StructuredTaskScope.open()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}&#10;"
<template name="sts" value="try (var scope = java.util.concurrent.StructuredTaskScope.open()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}&#10;"
resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.stss" toReformat="true" toShortenFQNames="true">
<context>
<option name="JAVA_CODE" value="false" />