3839404142434445464748
Collection col = fs; if (col != null) { Iterator it = col.iterator(); while (it.hasNext()) { FooService svc = (FooService) it.next(); result = result && svc.foo(); } } return result; }
4243444546474849505152
Collection col = fs; if (col != null) { Iterator it = col.iterator(); // Get the cached copy while (it != null && it.hasNext()) { FooService svc = (FooService) it.next(); result = result && svc.foo(); } } return result; }