mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Test data fixes after CommentTracker update
This commit is contained in:
@@ -10,8 +10,10 @@ public class IfStatementWithIdenticalBranches {
|
||||
}
|
||||
|
||||
void work(int i, int j) {
|
||||
if(i != 0) {
|
||||
} else /*5*/ /*7*/ if (i/*1*/ < j || i >/*6*/ j/*2*/) {/*3*/
|
||||
/*5*/
|
||||
/*7*/
|
||||
if(i != 0) {
|
||||
} else if (i/*1*/ < j || i >/*6*/ j/*2*/) {/*3*/
|
||||
int x = /*4*/ getX();
|
||||
} else {
|
||||
int y = 12;
|
||||
|
||||
+10
-10
@@ -1,15 +1,15 @@
|
||||
class NotInBlock {
|
||||
|
||||
public void test(boolean b) {
|
||||
if(b) //end line comment
|
||||
//before update
|
||||
{
|
||||
int i=0;//before condition
|
||||
while (i</*comment in condition*/10) {
|
||||
//before statement
|
||||
System.out.println("Hello!");//in body
|
||||
i/*comment inside update*/++;
|
||||
}
|
||||
}
|
||||
//before update
|
||||
if(b) //end line comment
|
||||
{
|
||||
int i=0;//before condition
|
||||
while (i</*comment in condition*/10) {
|
||||
//before statement
|
||||
System.out.println("Hello!");//in body
|
||||
i/*comment inside update*/++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user