mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
moving tests
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
public class Test {
|
||||
|
||||
public void use1() {
|
||||
int p2 = y;
|
||||
p2++;
|
||||
int r = someMethod(x, p2);
|
||||
}
|
||||
|
||||
public void use2() {
|
||||
int p2 = field1;
|
||||
p2++;
|
||||
int r = someMethod(field1, p2);
|
||||
}
|
||||
|
||||
public void use3() {
|
||||
int p2 = field2;
|
||||
p2++;
|
||||
int r = someMethod(field2, p2);
|
||||
}
|
||||
|
||||
public void use4() {
|
||||
int p2 = field3;
|
||||
p2++;
|
||||
int r = someMethod(field3, p2);
|
||||
}
|
||||
|
||||
{
|
||||
field2++;
|
||||
}
|
||||
|
||||
private final int field1;
|
||||
private int field2;
|
||||
private int field3;
|
||||
}
|
||||
Reference in New Issue
Block a user