mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 00:20:55 +07:00
moving tests
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user