{
historicalPasswordCredential = (InternalCredential)historicalPasswordCredentials.get(i);
if ( historicalPasswordCredential.getValue() != null &&
historicalPasswordCredential.getValue().equals(password) )
{
throw new PasswordAlreadyUsedException();
}
}
}
for ( int i = historySize-1; i < historyCount; i++ )