private TaskResourceRep finishDeactivateTask(BlockConsistencyGroup consistencyGroup,String task){
  URI id=consistencyGroup.getId();
  Operation op=new Operation();
  op.ready();
  op.setProgress(100);
  op.setResourceType(ResourceOperationTypeEnum.DELETE_CONSISTENCY_GROUP);
  Operation status=_dbClient.createTaskOpStatus(BlockConsistencyGroup.class,id,task,op);
  return toTask(consistencyGroup,task,status);
}

private TaskResourceRep finishDeactivateTask ( BlockConsistencyGroup consistencyGroup , String task ) { URI id = consistencyGroup . getId ( ) ; Operation op = new Operation ( ) ; op . ready ( ) ; op . setProgress ( 100 ) ; op . setResourceType ( ResourceOperationTypeEnum . DELETE_CONSISTENCY_GROUP ) ; Operation status = _dbClient . createTaskOpStatus ( BlockConsistencyGroup . class , id , task , op ) ; return toTask ( consistencyGroup , task , status ) ; }
simply return a task that indicates that the operation completed .
