blob: b3764fda80dee14ed752157ab995f2e56524cad3 [file] [log] [blame]
import java.util.*;
class A<T> {
protected T t;
protected List<T> list = new ArrayList<T>();
}
public class B extends A<Object> {
void foo() {
if (t == null) return;
if (list == null) return;
System.out.println(t);
for (Object s : list) {
//do nothing
}
}
}