NSMutableArray<EOGlobalID> faults = new NSMutableArray<EOGlobalID>(globalIDs.count());
for (Enumeration ids = globalIDs.objectEnumerator(); ids.hasMoreElements();) {
EOGlobalID gid = (EOGlobalID) ids.nextElement();</BUG>
EOEnterpriseObject eo = ec.faultForGlobalID(gid, ec);
<BUG>if(EOFaultHandler.isFault(eo)) {
</BUG>
faults.addObject(gid);
} else {
result.addObject(eo);
}

NSMutableArray<EOGlobalID> faults = new NSMutableArray<EOGlobalID>(globalIDs.count());
for (EOGlobalID gid : globalIDs) {
EOEnterpriseObject eo = ec.faultForGlobalID(gid, ec);
if (EOFaultHandler.isFault(eo)) {
faults.addObject(gid);
} else {
result.addObject(eo);
