mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
TerminalBlock: preserve comments after continue statement (not in the proper place though)
This commit is contained in:
@@ -5,6 +5,7 @@ import java.util.Collection;
|
||||
|
||||
public class Test {
|
||||
void test(int[] arr) {
|
||||
// comment
|
||||
Arrays.stream(arr).forEach(x -> {
|
||||
int y = x * 2;
|
||||
if (x > y) return;
|
||||
|
||||
@@ -6,7 +6,7 @@ public class Test {
|
||||
void test(int[] arr) {
|
||||
for<caret>(int x : arr) {
|
||||
int y = x*2;
|
||||
if(x > y) continue;
|
||||
if(x > y) continue; // comment
|
||||
System.out.println(x);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user