mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
inline class to anonymous: replace varargs with array creation
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
private Object b = new Runnable() {
|
||||
{
|
||||
System.out.println(new String[]{"w"}[0]);
|
||||
}
|
||||
|
||||
public void run(){}
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user