javagit/src/main/java/edu/nyu/cs/javagit/api/commands/GitBranchOptions.java
public void setOptMUpper(boolean optMUpper) {
    checkCanSetRenameOption("-M");
    if (optMLower && optMUpper) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  -M cannot be used with -m.");
    } 
    this.optMUpper = optMUpper;
  }
public void setOptMUpper(boolean optMUpper) {
    checkCanSetRenameOption("-M");
    if (optMLower && optMUpper) {
      throw new IllegalArgumentException(ExceptionMessageMap.getMessage("000120")
          + "  -M cannot be used with -m.");
    } 
    this.optMUpper = optMUpper;
  }
public void setOptMUpper ( boolean optMUpper ) { checkCanSetRenameOption ( "-M" ) ; if ( optMLower && optMUpper ) { throw new IllegalArgumentException ( ExceptionMessageMap . getMessage ( "000120" ) + "  -M cannot be used with -m." ) ; } this . optMUpper = optMUpper ; }
Checks whether the -M option should be set and sets it.

@param optMUpper True if the -M option should be used, false otherwise.
Checks whether the - M option should be set and sets it .