testdata fo IDEA-20573

This commit is contained in:
anna
2013-05-03 13:30:10 +02:00
parent 29341b4c78
commit 065d7d8c51
2 changed files with 27 additions and 0 deletions
@@ -0,0 +1,26 @@
public class GoodCodeIsRed {
public void test() {
FileIF file = new FileImpl();
file.getInputStream();
}
}
class FileImpl implements FileIF {
public void getInputStream() {
}
}
interface FileIF extends BasicFileIF, DataSource {
}
interface BasicFileIF {
void getInputStream();
}
interface DataSource {
void getInputStream() throws java.io.IOException;
}