mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Cleanup (warnings; formatting)
This commit is contained in:
+10
-11
@@ -1,16 +1,16 @@
|
||||
// Qualified new of static class
|
||||
|
||||
class A {
|
||||
b b;
|
||||
A() {
|
||||
<error descr="Qualified new of static class">b.new c()</error>;
|
||||
b.new inner();
|
||||
}
|
||||
class inner {}
|
||||
b b;
|
||||
A() {
|
||||
<error descr="Qualified new of static class">b.new c()</error>;
|
||||
b.new inner();
|
||||
}
|
||||
class inner {}
|
||||
|
||||
void f() {
|
||||
char[] c = <error descr="Invalid qualified new">b.new char[0]</error>;
|
||||
}
|
||||
void f() {
|
||||
char[] c = <error descr="Invalid qualified new">b.new char[0]</error>;
|
||||
}
|
||||
}
|
||||
|
||||
class b extends A {
|
||||
@@ -19,8 +19,7 @@ class b extends A {
|
||||
|
||||
|
||||
class WithAnonym {
|
||||
interface I {
|
||||
}
|
||||
interface I {}
|
||||
class Inner{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user