@SuppressWarnings("unused") public static final boolean validateGroupPassword(String sGroupPassword){
  if (sGroupPassword.length() == 0) {
    return false;
  }
  return (limitPasswordToNumericCharacters && sGroupPassword.matches("^[0-9][0-9][0-9][0-9]$")) || sGroupPassword.matches("^[0-9A-C][0-9A-C][0-9A-C][0-9A-C]$");
}

@ SuppressWarnings ( "unused" ) public static final boolean validateGroupPassword ( String sGroupPassword ) { if ( sGroupPassword . length ( ) == 0 ) { return false ; } return ( limitPasswordToNumericCharacters && sGroupPassword . matches ( "^[0-9][0-9][0-9][0-9]$" ) ) || sGroupPassword . matches ( "^[0-9A-C][0-9A-C][0-9A-C][0-9A-C]$" ) ; }
validates a duplex group password . < p > note that the password must be four digits if only numeric values are allowed , or must be four characters , each of pattern [ 0 - 9a - c ] if alphanumeric values are allowed . ( see private field limitpasswordtonumericcharacters . ) < p >
