moving tests

This commit is contained in:
Dmitry Jemerov
2009-09-10 19:49:38 +04:00
parent e389680982
commit b43c03ca2f
305 changed files with 32 additions and 4 deletions
@@ -0,0 +1,20 @@
import java.util.*;
class Foo {
public void foo(Bar bar) {
for (Iterator it = bar.getCns().iterator(); it.hasNext();) {
final String o = (String) it.next();
}
}
}
class Bar<CN extends Bar> {
private List<CN> cns;
public List<CN> getCns() {
if (cns == null) {
return Collections.emptyList();
}
return cns;
}
}