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,15 @@
public class C {
public void doSomething() {
final String text1 = "hello";
for (Iterator it = getSomeObjects(text1).iterator(); it.hasNext();) {
String text = (String)it.next();
System.out.println("text = " + text);
}
}
private Collection getSomeObjects(String text) {
final List list = new ArrayList();
list.add(text);
return list;
}
}