mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
Cleanup (formatting)
This commit is contained in:
@@ -11,16 +11,16 @@ public class a {
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final int f1 = 3 < 4 ? (a.ix==5 ? 1 : 3) / 4 + 18 : 0;
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final int f2 = x instanceof Integer ? 1 : 0;
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
class a_ic_c {}
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">interface a_ic_i</error> {}
|
||||
<error descr="Inner classes cannot have static declarations">static</error> interface a_ic_i2 {}
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
int a_ic_m(String s) { return 0; }
|
||||
|
||||
// static initializer
|
||||
@@ -45,13 +45,13 @@ public class a {
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final int f1 = 3 < 4 ? (a.ix==5 ? 1 : 3) / 4 + 18 : 0;
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final int f2 = x instanceof Integer ? 1 : 0;
|
||||
|
||||
<error descr="Modifier 'static' not allowed here">static</error>
|
||||
<error descr="Modifier 'static' not allowed here">static</error>
|
||||
class a_ic_c2 {}
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
int a_ic_m2(String s) { return 0; }
|
||||
// static initializer
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
@@ -59,7 +59,7 @@ public class a {
|
||||
}
|
||||
}
|
||||
|
||||
void f1()
|
||||
void f1()
|
||||
{
|
||||
new a() {
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
@@ -69,16 +69,16 @@ public class a {
|
||||
final int f1 = 3 < 4 ? (a.ix==5 ? 1 : 3) / 4 + 18 : 0;
|
||||
|
||||
// its not a compile time constant
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final Object o = null;
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
final int f2 = x instanceof Integer ? 1 : 0;
|
||||
|
||||
<error descr="Modifier 'static' not allowed here">static</error>
|
||||
<error descr="Modifier 'static' not allowed here">static</error>
|
||||
class a_ic_c2 {}
|
||||
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
int a_ic_m2(String s) { return 0; }
|
||||
// static initializer
|
||||
<error descr="Inner classes cannot have static declarations">static</error>
|
||||
|
||||
Reference in New Issue
Block a user