for (NewsReference newsRef : newsBin.getNewsRefs()) {
if (isCanceled(monitor, sourceDb, destinationDb))
return;
Query query = sourceDb.query();
query.constrain(News.class);
query.descend("fId").constrain(newsRef.getId()); //$NON-NLS-1$
Iterator<?> newsIt = query.execute().iterator();
if (!newsIt.hasNext()) {
Activator.getDefault().logError("NewsBin " + newsBin + " has reference to news with id: " + newsRef.getId() + ", but that news does not exist.", null); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
staleNewsRefs.add(newsRef);