question: @ 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]$" ) ; }
target:  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>