Credentials creds = null;
Credentials creds;
    public void accepted(ISVNCredentials credentials) {        if (!myIsStoreCreds) {            return;        }        // only if not there yet (!)        int index = 0;        Credentials creds = null;        do {            creds = loadCredentials(myRealm, index);            index++;            if (creds != null && creds.getName().equals(credentials.getName()) &&                    creds.getPassword().equals(credentials.getPassword())) {                return;            }        } while(creds != null);        saveCredentials(myRealm, (Credentials) credentials);    }