arturobernalg opened a new pull request #94:
URL: https://github.com/apache/commons-fileupload/pull/94


   jsparrow --> 
   
   'Most checks against an indexOf value compare it with -1 because 0 is a 
valid index. Any checks which look for values >0 ignore the first element, 
which is likely a bug. If the intent is merely to check inclusion of a value in 
a String or a List, the contains method is better suited to express this 
intent. Clearer intent means better readability.'


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


Reply via email to