j2k: flatten test cases and testData directory structure
Move j2k/test/tests -> j2k/tests, j2k/test/testData -> j2k/testData
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
//file
|
||||
package demo;
|
||||
|
||||
interface WindowListener {
|
||||
void windowClosing ();
|
||||
}
|
||||
|
||||
class WindowAdapter implements WindowListener {
|
||||
public void windowClosing () {
|
||||
}
|
||||
}
|
||||
|
||||
class Frame {
|
||||
public void addWindowListener(WindowListener listener){}
|
||||
}
|
||||
|
||||
public final class Client extends Frame {
|
||||
Client() {
|
||||
WindowAdapter a = new WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosing () {
|
||||
}
|
||||
};
|
||||
|
||||
addWindowListener(a);
|
||||
|
||||
addWindowListener(new WindowAdapter() {
|
||||
@Override
|
||||
public void windowClosing () {
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user