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

View File

@@ -0,0 +1,19 @@
public class C {
public void doSomething() {
for (Iterator it = getSomeObjects().iterator(); it.hasNext();) {
String text = (String)it.next();
System.out.println("text = " + text);
}
}
private Collection <caret>getSomeObjects() {
final String text = "hello";
return getSomeObjects(text);
}
private Collection getSomeObjects(String text) {
final List list = new ArrayList();
list.add(text);
return list;
}
}