src/main/java/com/webcheckers/appl/PlayerLobby.java
/**
     * Checks if a given password follows security/input sanitation parameters.
     * @param password potential password of a user
     * @return weather the password follows security parameters
     */
Checks if a given password follows security/input sanitation parameters.
@param password potential password of a user
@return weather the password follows security parameters
Checks if a given password follows security / input sanitation parameters . @param password potential password of a user @return weather the password follows security parameters
private boolean check_pass(String password){
        for (int i = 0; i < password.length(); i++){
            if (password.charAt(i) != ' '){
                return true;
            }
        }
        return false;
    }
private boolean check_pass ( String password ) { for ( int i = 0 ; i < password . length ( ) ; i ++ ) { if ( password . charAt ( i ) != ' ' ) { return true ; } } return false ; }
Checks if a given password follows security/input sanitation parameters.
Checks if a given password follows security / input sanitation parameters .