pkuwm opened a new issue #852: Unexpected type cast in TestRawZkClient
URL: https://github.com/apache/helix/issues/852
 
 
   There is an unexpected type cast in TestRawZkClient:
   ```
   sb.append(ran.nextInt(26) + 'a');
   ```
   The code adds integers instead of chars. We would like to make it accurate 
and expected by explicitly casting:
   ```
   sb.append((char) (ran.nextInt(26) + 'a'));
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to