private int computeCredsHashCode ( Credentials c ) { if ( c instanceof SimpleCredentials ) { return computeSimpleCredsHashCode ( ( SimpleCredentials ) c ) ; } return c . hashCode ( ) ; }
Returns Credentials instance hash code . Handles instances of SimpleCredentials in a special way .