Program: 86453
Project: 86453
Buggy source:
/** 
 * Entry point for the mojo.
 */
public void execute() throws MojoExecutionException, MojoFailureException {
  try {
    fixOSXNonProxyHosts();
    init();
switch (buildOption) {
case NULL:
      if (Options.override) {
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (activeRevision.length() > 0) {
          doImport();
          doActivateBundle();
        }
 else {
          Options.override=false;
          doImport();
          doActivateBundle();
        }
      }
 else       if (Options.update) {
        String latestRev="String_Node_Str";
        if (revisionInArg.length() > 0) {
          logger.info("String_Node_Str" + revisionInArg);
          doUpdate(revisionInArg);
          break;
        }
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (activeRevision.length() > 0) {
          logger.info("String_Node_Str" + activeRevision);
          logger.info("String_Node_Str" + activeRevision);
          doUpdate(activeRevision);
          break;
        }
        latestRev=RestUtil.getLatestRevision(this.getProfile());
        if (latestRev.length() > 0) {
          logger.info("String_Node_Str" + latestRev);
          logger.info("String_Node_Str" + latestRev);
          doUpdate(latestRev);
          break;
        }
 else {
          doImport();
          doActivateBundle();
        }
      }
 else       if (Options.clean) {
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (this.activeRevision.length() > 0) {
          doDelete(this.activeRevision);
        }
 else {
          logger.info("String_Node_Str" + this.getProfile().getEnvironment() + "String_Node_Str");
        }
      }
 else {
        doImport();
        if (!Options.inactive)         doRefreshBundle();
      }
    break;
case deployinactive:
  logger.warn("String_Node_Str");
doImport();
break;
case undeploy:
logger.warn("String_Node_Str");
doDeactivae();
break;
case delete:
activeRevision=RestUtil.getDeployedRevision(this.getProfile());
doDelete(activeRevision);
break;
default :
break;
}
state=State.COMPLETE;
}
 catch (MojoFailureException e) {
processHelpfulErrorMessage(e);
}
catch (RuntimeException e) {
processHelpfulErrorMessage(e);
}
catch (Exception e) {
processHelpfulErrorMessage(e);
}
 finally {
}
}

Fixed version (ground truth):
/** 
 * Entry point for the mojo.
 */
public void execute() throws MojoExecutionException, MojoFailureException {
  try {
    fixOSXNonProxyHosts();
    init();
switch (buildOption) {
case NULL:
      if (Options.override) {
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (activeRevision.length() > 0) {
          doImport();
          doActivateBundle();
        }
 else {
          Options.override=false;
          doImport();
          doActivateBundle();
        }
      }
 else       if (Options.update) {
        String latestRev="String_Node_Str";
        if (revisionInArg.length() > 0) {
          logger.info("String_Node_Str" + revisionInArg);
          doUpdate(revisionInArg);
          break;
        }
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (activeRevision.length() > 0) {
          logger.info("String_Node_Str" + activeRevision);
          logger.info("String_Node_Str" + activeRevision);
          doUpdate(activeRevision);
          break;
        }
 else {
          doImport();
          doActivateBundle();
        }
      }
 else       if (Options.clean) {
        activeRevision=RestUtil.getDeployedRevision(this.getProfile());
        if (this.activeRevision.length() > 0) {
          doDelete(this.activeRevision);
        }
 else {
          logger.info("String_Node_Str" + this.getProfile().getEnvironment() + "String_Node_Str");
        }
      }
 else {
        doImport();
        if (!Options.inactive)         doRefreshBundle();
      }
    break;
case deployinactive:
  logger.warn("String_Node_Str");
doImport();
break;
case undeploy:
logger.warn("String_Node_Str");
doDeactivae();
break;
case delete:
activeRevision=RestUtil.getDeployedRevision(this.getProfile());
doDelete(activeRevision);
break;
default :
break;
}
state=State.COMPLETE;
}
 catch (MojoFailureException e) {
processHelpfulErrorMessage(e);
}
catch (RuntimeException e) {
processHelpfulErrorMessage(e);
}
catch (Exception e) {
processHelpfulErrorMessage(e);
}
 finally {
}
}