pkuwm commented on pull request #1109:
URL: https://github.com/apache/helix/pull/1109#issuecomment-647675698


   > why not just merge this with line 79? private static final int 
NUM_CHILDREN_LIMIT = xxx;
   
   Purpose is for unit test. I explain it in comment: Set it here for unit test 
to use reflection to change value because compilers optimize constants by 
replacing them inline. If we don't do it like this, we would not be able to 
unit test getChildren() unless we create > 100K children.


----------------------------------------------------------------
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]



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

Reply via email to