On 16/09/2014 16:20, Christopher Schultz wrote:

>   StringBuilder credential = new StringBuilder(saltLength << 1 +
> serverCredential.length() + 10 + 2);
>   credential.append(HexUtils.toString(salt))
>             .append('$')
>             .append(iterations)
>             .append('$')
>             .append(serverCredential);


You might want to remind yourself of the rules regarding operator
precedence. Particularly '<<' vs. '+'

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to