mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
missed (from git import) testdata files
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
public class X {
|
||||
int f(boolean b) {
|
||||
if (b) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public class X {
|
||||
int f(boolean b) {
|
||||
if (b) <spot>return 1</spot>;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public class X {
|
||||
int f() {
|
||||
System.out.println(i);
|
||||
i++;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class X {
|
||||
int f() {
|
||||
System.out.println(<spot>i++</spot>);
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class X {
|
||||
String f() {
|
||||
return new StringBuffer().append("1").append("2").toString();
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class X {
|
||||
String f() {
|
||||
return <spot>"1" + "2"</spot>;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class X {
|
||||
boolean f(boolean a) {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
public class X {
|
||||
boolean f(boolean a) {
|
||||
<spot>if</spot> (a) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user