You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by GitBox <gi...@apache.org> on 2020/08/05 09:35:22 UTC

[GitHub] [commons-io] sebbASF commented on pull request #125: Simplify expression

sebbASF commented on pull request #125:
URL: https://github.com/apache/commons-io/pull/125#issuecomment-669090869


   Whilst the operations with 0 don't actually do anything, they help to make the algorithm clearer, so I don't think the code should be changed. Or, if the code is changed, there needs to be documentation to note that the changed code is part of the same sequence.
   In any case, won't the compiler optimise the operations away?


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