if (realm == null) { DebugLog.error(new Exception()); }
    public ISVNCredentials nextCredentials(String realm) {        if (realm == null) {            DebugLog.error(new Exception());        }        myRealm = realm == null ? "default" : realm;        if (myCurrentCredentials == null) {            Integer index = (Integer) myRealmIndexes.get(myRealm);            if (index == null) {                index = new Integer(0);            } else {                index = new Integer(index.intValue() + 1);            }            Credentials creds = loadCredentials(myRealm, index.intValue());            if (creds != null) {                myRealmIndexes.put(realm, index);            }            return creds;        }        Credentials creds = myCurrentCredentials;        myCurrentCredentials = null;        return creds;    }