[
http://issues.apache.org/jira/browse/LANG-269?page=comments#action_12420473 ]
Scott Johnson commented on LANG-269:
I thought about that when I was naming the methods. But I wasn't sure a suffix
method would be useful.
If it will provide value, I
[
http://issues.apache.org/jira/browse/LANG-269?page=comments#action_12420180 ]
Michael Dang commented on LANG-269:
---
This looks great! Thanks Scott!
BTW. should we add getCommonSuffix as well, or that is too much?
--Michael
Shouldn't Commons Lang's
[
http://issues.apache.org/jira/browse/LANG-269?page=comments#action_12419905 ]
Michael Dang commented on LANG-269:
---
Scott, I think this is a very elegant approach. I like the method name
getCommonPrefix and the idea of adding the
[
http://issues.apache.org/jira/browse/LANG-269?page=comments#action_12419930 ]
Scott Johnson commented on LANG-269:
Thank you, Michael.
The indexOfDifference(String[]) method initially scans the String array for the
shortest String and uses that in
[
http://issues.apache.org/jira/browse/LANG-269?page=comments#action_12419937 ]
Scott Johnson commented on LANG-269:
I've attached an updated patch reflecting your idea, Michael. It will
definitely improve performance.
I was also able to eliminate