drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
public void update(ILocator version) throws DAVException {
        Document document = newDocument();
        Update.createVersion(document, version.getResourceURL());

        IResponse response = null;
        try {
            response = davClient.update(locator, newContext(), document);
            examineResponse(response);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
public void update(ILocator version) throws DAVException {
        Document document = newDocument();
        Update.createVersion(document, version.getResourceURL());

        IResponse response = null;
        try {
            response = davClient.update(locator, newContext(), document);
            examineResponse(response);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
public void update ( ILocator version ) throws DAVException { Document document = newDocument ( ) ; Update . createVersion ( document , version . getResourceURL ( ) ) ; IResponse response = null ; try { response = davClient . update ( locator , newContext ( ) , document ) ; examineResponse ( response ) ; } catch ( IOException e ) { throw new SystemException ( e ) ; } finally { closeResponse ( response ) ; } }
Perform an UPDATE on the receiver to set the version it
is based upon.

@param version the <code>Locator</code> of the version that
is the target of the update request.
@throws DAVException if a problem occurs executing the update
on the WebDAV server.
Perform an UPDATE on the receiver to set the version it is based upon .