You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/03/04 04:05:06 UTC
[GitHub] [helix] pkuwm opened a new issue #852: Unexpected type cast in
TestRawZkClient
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] jiajunwang closed issue #852: Unexpected type cast in
TestRawZkClient
Posted by GitBox <gi...@apache.org>.
jiajunwang closed issue #852: Unexpected type cast in TestRawZkClient
URL: https://github.com/apache/helix/issues/852
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org