drools-eclipse/org.guvnor.eclipse.webdav/src/client/org/eclipse/webdav/client/AbstractResourceHandle.java
protected ILocator protectedCheckIn() throws DAVException {
        IResponse response = null;
        try {
            response = davClient.checkin(locator, newContext(), null);
            examineResponse(response);
            String versionUrl = response.getContext().getLocation();
            return davClient.getDAVFactory().newStableLocator(versionUrl);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
protected ILocator protectedCheckIn() throws DAVException {
        IResponse response = null;
        try {
            response = davClient.checkin(locator, newContext(), null);
            examineResponse(response);
            String versionUrl = response.getContext().getLocation();
            return davClient.getDAVFactory().newStableLocator(versionUrl);
        } catch (IOException e) {
            throw new SystemException(e);
        } finally {
            closeResponse(response);
        }
    }
Check in the receiver and answer a new Locator on the
resulting version resource.

@return the <code>Locator</code> to the receiver's version.
@throws DAVException if a problem occurs with the check in request.