return false;
if(descriptor.getActions().size() == 0 && descriptor.getCommonActions().size() == 0) { descriptor.removeActions(); } return removed;
  public boolean removeResult(ResultDescriptor result)  {    Iterator iter = descriptor.getActions().iterator();    while(iter.hasNext())    {      ActionDescriptor action = (ActionDescriptor)iter.next();      if(result instanceof ConditionalResultDescriptor)      {        List list = action.getConditionalResults();        if(list != null)        {          for(int i = 0; i < list.size(); i++)          {            if(list.get(i) == result)            {              list.remove(i);              if(action.getUnconditionalResult()==null)              {                iter.remove();              }              return true;            }          }        }      }      else      {        if(action.getUnconditionalResult() == result)        {          action.setUnconditionalResult(null);          if(action.getConditionalResults().size()==0)          {            iter.remove();          }          return true;        }      }    }    return false;  }