mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
ReturnSeparatedFromComputationInspection: support parentheses
This commit is contained in:
+1
-1
@@ -15,6 +15,6 @@ class T {
|
||||
/* inline */
|
||||
return "#"; // return comment
|
||||
}
|
||||
return s; // return comment
|
||||
return (s); // return comment
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -11,6 +11,6 @@ class T {
|
||||
else if (s.startsWith("#")) {
|
||||
s = "#"; /* inline */
|
||||
}
|
||||
ret<caret>urn s; // return comment
|
||||
ret<caret>urn (s); // return comment
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user