mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-245459 [java]: add <spot> to intention before template, fix grammar
GitOrigin-RevId: 7b8e890b36ac9622ec633986bebb22a9638fd10b
This commit is contained in:
committed by
intellij-monorepo-bot
parent
025fd19c07
commit
0ea56ba7bb
+1
-1
@@ -1,4 +1,4 @@
|
||||
void test(String s) {
|
||||
<spot>void test(String s)</spot> {
|
||||
if(s == null) return;
|
||||
if(s.isEmpty()) return;
|
||||
System.out.println(s);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<body>
|
||||
Converts a method body to a single <code>return</code> form. After applying this action,
|
||||
Converts a method body to single <code>return</code> form. After applying this action,
|
||||
all the intermediate return statements will be removed and the control flow will be changed to
|
||||
exit through the last method body statement. Note that while conversion is always possible,
|
||||
the resulting code does not always look pretty.
|
||||
|
||||
Reference in New Issue
Block a user