J2K: Insert class body for anonymous classes

#KT-8952 Fixed
This commit is contained in:
Natalia Ukhorskaya
2015-09-07 16:41:35 +03:00
parent 1394e646b7
commit ee860fdde5
5 changed files with 28 additions and 7 deletions
+8
View File
@@ -5,6 +5,11 @@ interface WindowListener {
void windowClosing ();
}
interface EmptyWindowListener {
}
open class EmptyWindowAdapter : EmptyWindowListener {}
class WindowAdapter implements WindowListener {
public void windowClosing () {
}
@@ -29,5 +34,8 @@ public final class Client extends Frame {
public void windowClosing () {
}
});
EmptyWindowListener b = new EmptyWindowListener() {};
EmptyWindowAdapter c = new EmptyWindowAdapter() {};
}
}