myUserNameAuthentications = new ArrayList();
    public void setAuthentications(SVNAuthentication[] authentications) {        myPasswordAuthentications = new ArrayList();        mySSHAuthentications = new ArrayList();        myPasswordIndex = 0;        mySSHIndex = 0;        for (int i = 0; authentications != null && i < authentications.length; i++) {            SVNAuthentication auth = authentications[i];            if (auth instanceof SVNPasswordAuthentication) {                myPasswordAuthentications.add(auth);                            } else if (auth instanceof SVNSSHAuthentication) {                mySSHAuthentications.add(auth);                            }        }    }