bhawna94 opened a new pull request #585:
URL: https://github.com/apache/commons-lang/pull/585


   Remove redundant parameter:str.length() as by default substring(int 
beginIndex) method returns the substring from the specified index and extends 
till string length. 
   And as str.length() is final.So, storing str.length() into a variable final 
int length = str.length() to avoid calling function str.length() sevaral times.


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