[java] IDEA-372997 Remove a trailing line break in Structured Concurrency templates

GitOrigin-RevId: 81e8e2e5fc788d97623d843f663b902598bc84ed
This commit is contained in:
Bartek Pacia
2025-06-30 13:03:38 +00:00
committed by intellij-monorepo-bot
parent 40d92e03c3
commit 18e865bb20
+3 -3
View File
@@ -359,7 +359,7 @@
</context>
</template>
<template name="stss" value="try (var scope = new java.util.concurrent.StructuredTaskScope.ShutdownOnSuccess()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}&#10;"
<template name="stss" value="try (var scope = new java.util.concurrent.StructuredTaskScope.ShutdownOnSuccess()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}"
resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.stss" toReformat="true" toShortenFQNames="true">
<context>
<option name="JAVA_CODE" value="false" />
@@ -367,7 +367,7 @@
</context>
</template>
<template name="stsf" value="try (var scope = new java.util.concurrent.StructuredTaskScope.ShutdownOnFailure()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}&#10;"
<template name="stsf" value="try (var scope = new java.util.concurrent.StructuredTaskScope.ShutdownOnFailure()) {&#10; $END$&#10; scope.join();&#10;} catch (InterruptedException e) {&#10; // TODO: handle exception&#10;}"
resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.stsf" toReformat="true" toShortenFQNames="true">
<context>
<option name="JAVA_CODE" value="false" />
@@ -375,7 +375,7 @@
</context>
</template>
<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;"
<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;}"
resource-bundle="messages.CodeInsightBundle" key="livetemplate.description.sts" toReformat="true" toShortenFQNames="true">
<context>
<option name="JAVA_CODE" value="false" />