mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IG: fix tests
This commit is contained in:
+2
-2
@@ -16,7 +16,7 @@ public class UnqualifiedFieldAccess {
|
||||
void foo() {
|
||||
new Object() {
|
||||
void foo() {
|
||||
i = 0;
|
||||
<warning descr="Instance field access 'i' is not qualified with 'this'">i</warning> = 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -26,7 +26,7 @@ public class UnqualifiedFieldAccess {
|
||||
void a() {
|
||||
new Object() {
|
||||
void b() {
|
||||
System.out.println(i);
|
||||
System.out.println(<warning descr="Instance field access 'i' is not qualified with 'this'">i</warning>);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ public class UnqualifiedMethodAccess extends JPanel {
|
||||
<warning descr="Instance method call 'a' is not qualified with 'this'">a</warning>();
|
||||
new Object() {
|
||||
void b() {
|
||||
a();
|
||||
<warning descr="Instance method call 'a' is not qualified with 'this'">a</warning>();
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -31,7 +31,7 @@ public class UnqualifiedMethodAccess extends JPanel {
|
||||
void bar() {
|
||||
new Object() {
|
||||
void foo() {
|
||||
bar();
|
||||
<warning descr="Instance method call 'bar' is not qualified with 'this'">bar</warning>();
|
||||
<warning descr="Instance method call 'foo' is not qualified with 'this'">foo</warning>();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user