code: public void setOptDUpper(boolean optDUpper) {
      checkCanSetDeleteOption("-D");
      if (optDLower && optDUpper) {
        throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
            + "  -D cannot be used with -d.");
      } 
      this.optDUpper = optDUpper;
    }
docs: Checks whether the -D option should be set and sets it.
  
  @param optDUpper True if the -D option should be used, false otherwise.