method = (DavMethod) it.next();
initMethod(method, batchImpl, true);
client.executeMethod(method);
method.checkSuccess();
method.releaseConnection();
}
success = true;
} finally {
// make sure the lock is removed. if any of the methods
// failed the unlock is used to abort any pending changes