} finally {
lock.release();
}
}
private void copyResource(DocumentImpl oldDoc, DocumentImpl newDoc) {
<BUG>LOG.debug("Copying document " + oldDoc.getFileName() + " to " + newDoc.getCollection().getName());
final long start = System.currentTimeMillis();</BUG>
Iterator iterator;
NodeList nodes = oldDoc.getChildNodes();
NodeImpl n;

} finally {
lock.release();
}
}
private void copyResource(DocumentImpl oldDoc, DocumentImpl newDoc) {
LOG.debug("Copying document " + oldDoc.getFileName() + " to " +
newDoc.getName());
final long start = System.currentTimeMillis();
Iterator iterator;
NodeList nodes = oldDoc.getChildNodes();
NodeImpl n;
