DeployPlan oldDP = getDeployPlan(); if (oldDP != null) {
DeployPlan oldDeployPlan = getDeployPlan(); if (oldDeployPlan != null) {
  protected void watchRemovedSelfOrgDeployAct(OrgActivity selfOrgAct) {    // throw away the deploy plan    DeployPlan oldDP = getDeployPlan();    if (oldDP != null) {      if (DEBUG) {        printDebug("Remove Deployment Plan!\nOLD:\n"+oldDP);      }      setDeployPlan(null);      // Kill Associated Expansion      if (oldDP.expandedWorkflow != null) {        killWorkflow(oldDP.expandedWorkflow);      }    }  }