blob: 22bd7a39c8a99eb48fe3bea5fe390d9ab09ce4bd [file] [log] [blame]
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;
}