arturobernalg opened a new pull request #2643:
URL: https://github.com/apache/hadoop/pull/2643


   ## NOTICE
   
   Use isEmpty instead size() > o.
   size() can be O(1) or O(N), depending on the data structure; .isEmpty() is 
never O(N).
   No need new test. It's just improvement
   


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