props.put(Constants.TOXML_FORCEREADABLE, ""+true);
Iterator noHistoryRefIt = notFoundInHistoryQueue.keySet().iterator();
while (noHistoryRefIt.hasNext()) {
Long refId = (Long)noHistoryRefIt.next();
if (!foundInCallbackQueue.containsKey(refId)) {
I_Entry entry = (I_Entry)notFoundInHistoryQueue.get(refId);
out.write(("\nNot referenced:").getBytes());
entry.embeddedObjectToXml(out, props);
out.write(("\n").getBytes());
numUnref.add(refId);
if (fixIt) {
map.remove(refId.longValue());
}
}
}
Iterator noCallbackRefIt = notFoundInCallbackQueue.keySet().iterator();
while (noCallbackRefIt.hasNext()) {
Long refId = (Long)noCallbackRefIt.next();
if (!foundInHistoryQueue.containsKey(refId)) {
I_Entry entry = (I_Entry)notFoundInCallbackQueue.get(refId);
out.write(("\nNot referenced:").getBytes());
entry.embeddedObjectToXml(out, props);
out.write(("\n").getBytes());
numUnref.add(refId);
if (fixIt) {
map.remove(refId.longValue());
}