public Promise<ResourceResponse,ResourceException> apply(final ResourceResponse readResponse) throws ResourceException {
  if (deleteRequest.getRevision() == null) {
    deleteRequest.setRevision(readResponse.getRevision());
  }
  return syncReferencedObjectDeleteHandler.performRequest(readResponse.getContent(),deleteRequest,context);
}

public Promise < ResourceResponse , ResourceException > apply ( final ResourceResponse readResponse ) throws ResourceException { if ( deleteRequest . getRevision ( ) == null ) { deleteRequest . setRevision ( readResponse . getRevision ( ) ) ; } return syncReferencedObjectDeleteHandler . performRequest ( readResponse . getContent ( ) , deleteRequest , context ) ; }
sets the revision on the request if needed , and then performs the delete via the syncreferencedobjectdeletehandler .
